Commit graph

13 commits

Author SHA1 Message Date
Jannis Leidel
fcc569b0d9
Remove local_settings since it's an anti-pattern. 2020-02-07 11:38:31 +01:00
Jannis Leidel
d8542ffb87
Blacken the code. 2020-02-07 10:50:47 +01:00
Jason Ward
4cf4853232 Add support for Django 2.2 (#64)
* Updated tox to test only python{2,3}.7 and djagno1.11/2.2

* Updated travis.

* Updated models/migrations.

* Updated path to `reverse`

* Updated path to login view.

* Updated middlewares/installed apps

* Updated .travis again.

* Lets see if that will get tests working in python3 on travis.

* Switch to in memory DB for tests

* Stop running tests with python2.7 and django 2.2. They shouldn't work anyway.

* Sure did that wrong. Fix which python versions are running with which code.

* That isn't needed. Lets see if that is what is breaking python3.

* Testing a theory.

* Revert "Testing a theory."

This reverts commit 69b3e4c906.

* Added initial migration for example users.

* is_authenticated is a bool, not a method.
2020-01-24 16:04:44 +06: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
Bob Cribbs
2c2927f696 add compat.py file for user model 2015-11-10 22:45:10 +02:00
Gunnlaugur Þór Briem
fdab7e06fd Fix use of deprecated adminmedia taglib
and ADMIN_MEDIA_PREFIX setting
2013-07-13 01:30:38 +00:00
Travis Chase
9c17430b03 Added custom user model and modified test run to use it when Django >= 1.5 2013-06-13 06:13:12 -05:00
Jason Ward
b885d3ff8c refs #12: removed legacy apps 2013-03-18 17:32:38 -04:00
Jason Ward
4a9ed8aa9d refs #11: added tests for group caching 2013-03-18 15:46:34 -04:00
Jason Ward
0b152b4adf refs #10: updated the DB definition for django 1.4/1.5 2013-03-18 14:39:13 -04: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
ea8f0168e8 Removed ipython and added django-extensions, django-debug-toolbar 2009-06-12 01:00:04 +02:00
Jannis Leidel
96a80d27a1 Added example project 2009-06-08 12:03:49 +02:00