Fixed permissions to delete own applications (if they have no number).

This commit is contained in:
Emanuel Schuetze 2011-11-01 08:07:27 +01:00
parent a23164a906
commit 15f872b6e2

View File

@ -197,7 +197,7 @@ def edit(request, application_id=None):
'application': application,
}
@permission_required('application.can_manage_application')
@login_required
@template('application/view.html')
def delete(request, application_id):
"""