Commit graph

12 commits

Author SHA1 Message Date
Jason Ward
e49523dace prepended 'base' to all new cache stuff in the base permission class 2012-09-20 14:52:01 -04:00
Jason Ward
73cdf40ab2 Added a performance test 2012-09-20 12:03:12 -04:00
Jason Ward
5cdf9f01b0 flake8 2012-09-20 11:55:38 -04:00
Jason Ward
ba0d47ac0b Built a pre-cached permission dict to reduce the number of queries. 2012-09-20 11:37:44 -04:00
Jason Ward
d41bb71470 flake8 2012-09-20 11:00:01 -04:00
Jason Ward
a67c7b43bd Fixed Q object query that triggers a deepcopy bug in Python < 2.7 when a backend stores an Ellipsis object on the user 2012-09-20 10:56:37 -04:00
Jason Ward
ec2c2802d1 Changing object references from object.id to object.pk 2012-09-20 10:54:49 -04:00
Jannis Leidel
32883905a4 Make use of new helper method introduced with the permission assigning features. 2010-01-15 22:35:01 +01:00
Jannis Leidel
567de09ca5 Further nitpicking. 2010-01-15 22:34:24 +01:00
Jannis Leidel
d4891f6b34 Minor nitpicking. 2010-01-15 22:30:09 +01:00
Diego Búrigo Zacarão
eb9218fe84 Fixed test_all() method of test.py
- It's necessary to pass the object to be checked against the
   permission types.
2010-01-15 18:30:16 -02: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