Commit graph

12 commits

Author SHA1 Message Date
Dylan Lukes
b1f63c8d25 Django 1.7 compatibility 2014-02-20 13:35:33 -05:00
Jannis Leidel
49a52b7957 Merge pull request #11 from gthb/issue_15
Fix TypeError in edit_permissions
2014-02-20 17:53:22 +01:00
Jannis Leidel
f26feb3e47 Merge pull request #29 from gthb/fix-edit_permission-action
Fix edit permission action
2014-02-20 17:53:02 +01:00
Gunnlaugur Þór Briem
423bb90c71 Show action form errors using message_user
Not very neat, but way better than nothing when there are errors
(previously the error was invisible and the action simply seemed to have
completed).
2014-02-12 00:15:13 +00:00
Gunnlaugur Thor Briem
40924e532d Fix lurking bug in edit_permissions
I don't have a test case, this is just code review; that string extrapolation will always raise.
2014-02-11 11:20:31 +00:00
Jannis Leidel
ed096dcd21 Merge pull request #12 from gthb/django-deprecations
Fix django deprecations
2013-09-09 00:18:58 -07:00
Remigiusz Dymecki
27cfd0b0e5 backward compatible 2013-09-08 03:43:38 +02:00
Remigiusz Dymecki
dd04fecee6 Python3 update 2013-09-08 03:30:44 +02:00
Gunnlaugur Þór Briem
32afb162ff Fix use of deprecated admin_site.root_path 2013-07-13 01:30:36 +00:00
Gunnlaugur Þór Briem
a88432cc28 Break out of for-loop when field found
Matching the `return` statement that the previous commit replaced.
2013-07-13 00:34:23 +00:00
Gunnlaugur Þór Briem
6728ba94b3 Fix TypeError in edit_permissions under Django 1.3
Call superclass `formfield_for_dbfield` so that it gets to do its stuff
(including removing `request` from `kwargs`)

fixes: #15
2013-05-29 10:55:54 +00:00
Jannis Leidel
71eee85b85 Moved authority app from src/ to root directory
--HG--
rename : src/authority/__init__.py => authority/__init__.py
rename : src/authority/admin.py => authority/admin.py
rename : src/authority/decorators.py => authority/decorators.py
rename : src/authority/exceptions.py => authority/exceptions.py
rename : src/authority/fixtures/tests.json => authority/fixtures/tests.json
rename : src/authority/forms.py => authority/forms.py
rename : src/authority/managers.py => authority/managers.py
rename : src/authority/models.py => authority/models.py
rename : src/authority/permissions.py => authority/permissions.py
rename : src/authority/sites.py => authority/sites.py
rename : src/authority/templates/admin/edit_inline/action_tabular.html => authority/templates/admin/edit_inline/action_tabular.html
rename : src/authority/templates/admin/permission_change_form.html => authority/templates/admin/permission_change_form.html
rename : src/authority/templates/authority/403.html => authority/templates/authority/403.html
rename : src/authority/templates/authority/permission_delete_link.html => authority/templates/authority/permission_delete_link.html
rename : src/authority/templates/authority/permission_form.html => authority/templates/authority/permission_form.html
rename : src/authority/templates/authority/permission_request_approve_link.html => authority/templates/authority/permission_request_approve_link.html
rename : src/authority/templates/authority/permission_request_delete_link.html => authority/templates/authority/permission_request_delete_link.html
rename : src/authority/templatetags/__init__.py => authority/templatetags/__init__.py
rename : src/authority/templatetags/permissions.py => authority/templatetags/permissions.py
rename : src/authority/tests.py => authority/tests.py
rename : src/authority/urls.py => authority/urls.py
rename : src/authority/views.py => authority/views.py
rename : src/authority/widgets.py => authority/widgets.py
2010-01-07 18:00:41 +01:00
Renamed from src/authority/admin.py (Browse further)