Commit graph

7 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
Charles Francois Rey
9e4035118e Fix render_to_string() calls with unexpected context_instance parameter (Django 1.10 compatibility) 2016-09-16 16:39:44 +02:00
greg
91929a76c9 Features removed in 1.9 :
1. All models need to be defined inside an installed application or declare an explicit app_label. Furthermore, it isn’t possible to import them before their application is loaded. In particular, it isn’t possible to import models inside the root package of an application

2. The django.contrib.contenttypes.generic module is removed

3. django.db.models.loading is removed.
2016-07-27 18:41:25 +02:00
Safwan Rahman
08359c4880 Remove older Django support and fix styling issues 2016-03-29 23:24:31 +06:00
mozillazg
00aaa026d9 Change argument extra_context's default value
Change keyword argument extra_context's default value from `{}` to `None`.
2014-02-20 22:11:57 +08: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/views.py (Browse further)