Open patxoca opened 8 years ago
After migrating mi settings module to use django-configurations opening the project buffer complains about JSON readtble error.
django-configurations
JSON readtble error
Adding some initialization code to python-django-info-imports-code seems to solve the issue.
python-django-info-imports-code
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.
After migrating mi settings module to use
django-configurations
opening the project buffer complains aboutJSON 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.