diff -r c6bdfd560d91 -r 1cd180cc56c9 app/soc/views/models/student_project.py --- a/app/soc/views/models/student_project.py Fri Apr 03 17:34:20 2009 +0000 +++ b/app/soc/views/models/student_project.py Fri Apr 03 17:41:08 2009 +0000 @@ -33,7 +33,6 @@ from soc.views.helper import access from soc.views.helper import decorators from soc.views.helper import redirects -from soc.views.helper import responses from soc.views.helper import widgets from soc.views.models import base from soc.views.models import organization as org_view @@ -55,7 +54,9 @@ rights = access.Checker(params) rights['create'] = ['checkIsDeveloper'] - rights['edit'] = ['checkIsDeveloper'] # TODO who should be able to edit this? + # TODO who should be able to edit this? + rights['edit'] = ['checkIsDeveloper'] + rights['delete'] = ['checkIsDeveloper'] rights['show'] = ['allow'] rights['list'] = ['checkIsDeveloper'] @@ -119,7 +120,7 @@ """ if not entity: - fields['link_id'] = 't%i' %(int(time.time()*100)) + fields['link_id'] = 't%i' % (int(time.time()*100)) else: fields['link_id'] = entity.link_id