forked from DGNum/gestioCOF
Upgrade to Django 1.11
- Deprecation warnings using Django 1.8 are resolved. - Deprecation warnings using Django 1.11 are resolved. - Admin: grappelli is no longer used. - Upgrade to django-autocomplete-light v3 (v2 is not 1.11 compatible). * autocomplete.modelform_factory being dropped, code uses dal Select2 views and widgets.
This commit is contained in:
parent
36ce038050
commit
b0b0542407
44 changed files with 341 additions and 278 deletions
|
@ -184,5 +184,5 @@ def user_add_perms(user, perms_labels):
|
|||
|
||||
# If permissions have already been fetched for this user, we need to reload
|
||||
# it to avoid using of the previous permissions cache.
|
||||
# https://docs.djangoproject.com/en/1.11/topics/auth/default/#permission-caching
|
||||
# https://docs.djangoproject.com/en/dev/topics/auth/default/#permission-caching
|
||||
return User.objects.get(pk=user.pk)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue