projects
/
pgeu-website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
431f982
)
Remove redundant handling of cancel button
author
Magnus Hagander
<magnus@hagander.net>
Thu, 27 Sep 2018 15:45:09 +0000
(17:45 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Thu, 27 Sep 2018 15:45:09 +0000
(17:45 +0200)
postgresqleu/confreg/views.py
patch
|
blob
|
blame
|
history
diff --git
a/postgresqleu/confreg/views.py
b/postgresqleu/confreg/views.py
index eb596c8849876a15725cfc3b2c959cd66c109158..ff55583790ba67e811b8e52ff4ad3e1d28e8ad2e 100644
(file)
--- a/
postgresqleu/confreg/views.py
+++ b/
postgresqleu/confreg/views.py
@@
-280,11
+280,6
@@
def register(request, confname, whatfor=None):
# Complete registration!
return HttpResponseRedirect("{0}confirm/".format(redir_root))
- # Or did they click cancel?
- if request.POST['submit'] == 'Cancel registration':
- reg.delete()
- return HttpResponseRedirect("{0}canceled/".format(redir_root))
-
# Or did they save but we're on the "wrong" url
if redir_root:
return HttpResponseRedirect(redir_root)