fgallina / python-django.el

An Emacs package for managing Django projects.
GNU General Public License v3.0
67 stars 24 forks source link

django-configurations not supported #25

Open patxoca opened 8 years ago

patxoca commented 8 years ago

After migrating mi settings module to use django-configurations opening the project buffer complains about JSON readtble error.

Adding some initialization code to python-django-info-imports-code seems to solve the issue.

See https://github.com/patxoca/python-django.el/commit/add8ebb9e940e3507d26263234ec4b6c1312e408

Take a look to https://django-configurations.readthedocs.io/en/stable/patterns/#standalone-scripts for the details.