Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
etch
nuages
Commits
79c11a10
Commit
79c11a10
authored
Aug 26, 2014
by
Christophe Siraut
Browse files
Use reverse instead of poll.link
parent
8f4897f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
meetingpoll/views.py
View file @
79c11a10
...
...
@@ -79,7 +79,7 @@ def editchoices(request, poll_id):
v
.
save
()
poll
.
save
()
return
HttpResponseRedirect
(
reverse
(
'meetingpoll'
,
poll
.
id
))
return
HttpResponseRedirect
(
reverse
(
'meetingpoll'
,
args
=
(
str
(
poll
.
id
)
,))
)
else
:
messages
.
error
(
request
,
_
(
"There are some errors in the form you posted."
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment