Jason Ward
d1f90aa05b
Updated path to reverse
2019-07-05 15:20:15 -04:00
Jason Ward
4adc727778
Updated models/migrations.
2019-07-05 15:19:53 -04:00
cclauss
eebdcaa009
'basestring' was removed in Python 3
...
__from django.utils.six import string_types__
2018-12-02 11:49:53 +01:00
Jannis Leidel
f1ba811043
Fix distribution name.
2018-01-28 14:57:35 +01:00
Jannis Leidel
5d466ac318
Use setuptools_scm.
2018-01-28 14:17:11 +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
57684b94df
Add a blank line for the last line + adapt tox.ini for django1.10
2016-08-15 11:30:38 +02:00
greg
d4dc955e63
Django 1.10 - django.conf.urls.patterns() is removed
2016-08-12 15:41:30 +02:00
greg
8aa4c85942
update tests
2016-08-12 13:01:06 +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
8935320f4b
Adding migration to support Django 1.8
2016-03-29 23:26:48 +06:00
Safwan Rahman
08359c4880
Remove older Django support and fix styling issues
2016-03-29 23:24:31 +06:00
Jason Ward
8f81984939
refs #45 : Fixed broken test.
2015-12-14 11:09:43 -05:00
Jason Ward
c5c853e12b
refs #45 : Updated the tests.
2015-12-14 11:09:32 -05:00
Bob Cribbs
11bc2fe188
drop support for django 1.3; use prefetch_related for m2m to user__groups
2015-11-11 00:26:21 +02:00
Bob Cribbs
2c2927f696
add compat.py file for user model
2015-11-10 22:45:10 +02:00
Bob Cribbs
e712aa607e
Merge pull request #33 from DylanLukes/master
...
Django 1.7 compatibility
2015-11-10 18:10:28 +02:00
Mozillazg
3cb36d9e24
Fixed typo
2014-02-21 13:22:58 +08:00
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
Jannis Leidel
c394cc699e
Merge pull request #28 from gthb/patch-1
...
Fix lurking bug in edit_permissions
2014-02-20 17:52:44 +01: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
Gunnlaugur Þór Briem
37cef6308e
Change submit name to make edit_permission work
...
Turns out that since Django 1.2 the admin only invokes actions when
handling POST if the POST data specifically *doesn't* contain `_save`:
cce32a9b09
So this submit name was preventing `edit_permission` from acting on the
POST data since Django 1.2.
2014-02-12 00:15:16 +00: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
Wes Winham
13f425c5c2
Merge pull request #25 from gthb/fix-jsi18n-path
...
Fix hardcoded jsi18n script path
2014-02-10 13:25:31 -05:00
Gunnlaugur Þór Briem
0023127fc7
Fix hardcoded jsi18n script path
...
Use normal Django URL reversal instead of hardcoded relative path.
2014-02-10 18:05:18 +00:00
Gunnlaugur Þór Briem
c81f252840
Fix CSRF failure posting permission change form
...
Add missing `{% csrf_token %}` in form.
fixes #18
2014-02-10 18:03:24 +00:00
Wes Winham
426e0db6af
Removed liar comment RE: smart cache default
...
The smart cache defaults to enabled.
2014-01-29 15:29:13 -05:00
Remigiusz Dymecki
d81caa6599
Fix import for Django 1.6
2013-12-06 01:43:37 +01: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
7dace16efd
Fix remaining use of deprecated ADMIN_MEDIA_PREFIX
2013-07-30 18:57:38 +00:00
Gunnlaugur Þór Briem
fdab7e06fd
Fix use of deprecated adminmedia taglib
...
and ADMIN_MEDIA_PREFIX setting
2013-07-13 01:30:38 +00: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
Jason Ward
7ebbed7267
refs #9 : no longer doing dependent sub-queries
2013-07-03 12:06:08 -04:00
Jason Ward
6752bb52c1
refs #9 : had to bump the number of queries for a few things in order to stop doing dependent subqueries
2013-07-03 12:05:42 -04: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
Travis Chase
770e696313
Updated to be straight import for readability
2013-06-11 21:52:34 -05:00
Travis Chase
5a2ea092e6
Updates to handle custom user model change from Django 1.5
2013-06-11 17:26:41 -05: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
Jason Ward
d53d9c3b3f
refs #12 : fixed updating checks tuple
2013-03-18 18:53:24 -04:00
Jason Ward
95610f9379
refs #11 : All tests are now passing
2013-03-18 16:34:10 -04:00
Jason Ward
811e69b722
refs #11 : Updated query counts to take into account the ContentType cache, fixed group caching tests
2013-03-18 16:26:50 -04:00
Jason Ward
1e9d33bc89
refs #11 : basically got it working, two tests still failing
2013-03-18 16:08:51 -04:00
Jason Ward
a3a7093910
refs #11 : name change since we are building a second perm cache
2013-03-18 15:58:10 -04:00