Commit graph

13 commits

Author SHA1 Message Date
Jannis Leidel
d8542ffb87
Blacken the code. 2020-02-07 10:50:47 +01:00
Jason Ward
a868d54945 Add support for Django 1.11 (#58)
* refs #1: Updated tox + travis.

* refs #1; Fixed path to register.

* refs #1: Updated urls.py

* refs #1: Added username field. Not really sure why it was needed, but whatever.

* Added an update note.

* refs #2: Updated travis.

* refs #2: Updated command to run tests.

* refs #2: Added a test showing permission_required is busted.

* refs #2: Custom user modal needs a default manager.

* refs #2: Updated settings.

* refs #2: Stop the exception from being raised.

* refs #2: Fixed a problem with named parameters.
2018-01-19 17:37:15 +06:00
Jannis Leidel
340cbb9c73 Fixes issue #2 - Adds ability to pass non-lookup parameters in decorator to permission check. 2009-07-10 15:55:25 +02:00
Jannis Leidel
494649b1d4 Updated example permission to follow new-ish registry layout 2009-07-10 01:47:29 +02:00
Jannis Leidel
210c0e032b Made the register and unregister methods public 2009-07-10 01:21:08 +02:00
Jannis Leidel
13cc721580 Refactored permission class registration. 2009-07-10 01:07:20 +02:00
Jannis Leidel
a8fd0b25ca small update to example docstring 2009-07-07 00:44:14 +02:00
Jannis Leidel
0b369d9310 Renamed verbose_name attribute of permission checks to short_description for consistency 2009-07-04 11:06:01 +02:00
Jannis Leidel
3c34e7482d Added an example of the decorator to the docstring of the example view. Fixed verbose name of top_secret permission check of example app. 2009-06-22 16:09:06 +02:00
Jannis Leidel
3e047dc5fe Updated example project to use the latest additions to django-authority 2009-06-22 01:07:26 +02:00
Jannis Leidel
6163e02b26 A short description for the example FlatPagePermission 2009-06-12 01:22:43 +02:00
Jannis Leidel
ff0150398c Updated the FlatPage permissions to work with the latest changes. Added a custom permission check 'top_secret'. Added more examples to flatpage template. 2009-06-12 01:12:51 +02:00
Jannis Leidel
96a80d27a1 Added example project 2009-06-08 12:03:49 +02:00