django-rea / rea-project

A way to discuss and collaborate on the django-rea organization umbrella
1 stars 0 forks source link

Upgrading django 1.10 #5

Open XaviP opened 7 years ago

XaviP commented 7 years ago

Removing RemovedInDjango110Warning still in dj1.9:


About RemovedInDjango110Warning: Support for string view arguments to url() is deprecated and will be removed in Django 1.10:

See too: https://pinax-notifications.readthedocs.io/en/latest/usage/


About: 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.:


About: RemovedInDjango110Warning: SubfieldBase has been deprecated. Use Field.from_db_value instead. in account/fields.py, see: http://stackoverflow.com/questions/31793259/in-a-django-custom-field-what-does-the-subfieldbase-metaclass-do#answer-31793506

Just remove metaclass line from account/fields.py


About: RemovedInDjango110Warning: You haven't defined a TEMPLATES setting. You must do so before upgrading to Django 1.10. Otherwise Django will be unable to load templates.

See: https://github.com/FreedomCoop/valuenetwork/commit/97532324c51b1c97312746535bf7b94cd95beb1a

Changes with django 1.10