Allowing to delete a user account (#302)
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Thu, 15 Nov 2012 09:44:38 +0000 (10:44 +0100)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Thu, 17 Jan 2013 11:19:52 +0000 (12:19 +0100)
commit380f22b859070725a2446cef7d7b250559f1ad27
tree766874690ec992a479291a26cfe4f0f29945bcb3
parent3809a8b8e231d7eb22935cf78225121b9043e7fe
Allowing to delete a user account (#302)

Add a "Delete user account" template and link to it from the user
account settings page.

Create a delete_account function and fill in most blanks. We can now
successfully delete our own account.

Thanks to Elrond for catching a stray csrf_exempt in a previous iteration
of this patch.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
mediagoblin/edit/routing.py
mediagoblin/edit/views.py
mediagoblin/templates/mediagoblin/edit/delete_account.html [new file with mode: 0644]
mediagoblin/templates/mediagoblin/edit/edit_account.html