Skip to content

Conversation

stefanocrosta
Copy link

Both django.conf.urls.defaults and django.utils.simplejson are deprecated.

For backward compatibility, this safely try importing django.conf.urls first, fallback to django.conf.urls.defaults later.

Safely try importing django.conf.urls first, django.conf.urls.defaults later.
Try importing json first, safely fallback to simplejson. Please beware of some minor incompatibilities in particular with serialization: https://docs.djangoproject.com/en/dev/releases/1.5/#system-version-of-simplejson-no-longer-used
@joshowen
Copy link

This would be very helpful if the pul were accepted. Thanks!

@vkorchagin
Copy link

It is a good thing to have, because django.conf.urls.defaults was removed in Django 1.6.

@hfalcic
Copy link

hfalcic commented Apr 11, 2014

Django 1.6 has been out for 5 months; can this be merged?

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.

4 participants