yourlabs / django-autocomplete-light

A fresh approach to autocomplete implementations, specially for Django. Status: v4 alpha, v3 stable, v2 & v1 deprecated.
https://django-autocomplete-light.readthedocs.io
MIT License
1.8k stars 468 forks source link

Django 1.6 deprecated django.utils.simplejson #160

Closed chicheng closed 10 years ago

chicheng commented 11 years ago

Django 1.6 warns rest_mode.py from django.utils import simplejson as json

jpic commented 11 years ago

Also rest_model depends on a quite old version of django-restframework so it would be nice to upgrade that although it would break BC.

nickcatal commented 11 years ago

@jpic Would it be possible/break anything to simply have it as import json then if there is an ImportError fall back to from django.utils import simplejson as json?

jpic commented 11 years ago

That would be very welcome,

Thanks for your feedback !

On Thu, Nov 7, 2013 at 7:01 PM, Nick Catalano notifications@github.comwrote:

Would it be possible/break anything to simply have it as import json then if there is an ImportError fall back to from django.utils import simplejson as json?

— Reply to this email directly or view it on GitHubhttps://github.com/yourlabs/django-autocomplete-light/issues/160#issuecomment-27990236 .

http://yourlabs.org http://blog.yourlabs.org Customer is king - Le client est roi - El cliente es rey.

jpic commented 10 years ago

Was merged a long time ago !