Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django 1.10 compatibility, removed Django 1.9 warnings #115

Merged
merged 2 commits into from
Feb 11, 2016

Conversation

facconi
Copy link
Contributor

@facconi facconi commented Jan 12, 2016

Fixed "RemovedInDjango110Warning: django.conf.urls.patterns() is deprecated and will be removed in Django 1.10. Update your urlpatterns to be a list of django.conf.urls.url() instances instead." warning and added compatibility to Django 1.10.
All warnings in Django 1.9 have been fixed.

Francesco Facconi added 2 commits January 12, 2016 11:32
…ecated and will be removed in Django 1.10. Update your urlpatterns to be a list of django.conf.urls.url() instances instead." warning and added compatibility to Django 1.10.
from django.db.models import loading
loading.cache.loaded = False
except ImportError: # Django >= 1.9
pass
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question about this part: does that mean that in Django 1.9 a cache clear is no longer needed?

vdboor added a commit that referenced this pull request Feb 11, 2016
Django 1.10 compatibility, removed Django 1.9 warnings
@vdboor vdboor merged commit fc9fbde into django-parler:master Feb 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants