You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
runtests.py is missing: not found anywhere in the repo. Did you mean django-admin.py test?
django-admin.py runserver errors out with:
django.core.exceptions.ImproperlyConfigured: Requested setting DEBUG, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
Trying to set DJANGO_SETTINGS_MODULE complains about other missing stuff:
ModuleNotFoundError: No module named 'polymorphic'
I've successfully used most of DJA based on usage.md but was looking for some examples, especially for resource-related fields and figured the example app would be a good place to start.
Happy to try and submit a PR with improved documentation if you can provide some guidance on what's supposed to be there. Thanks!
The text was updated successfully, but these errors were encountered:
I think the example app doesn't get a lot of love. Unfortunately, I don't have any immediate answers for you. The test suite runs with python setup.py test in Tox so that might be a good first thing to try and replicate.
Anything that makes the example app more runnable for others would appreciated. Thanks!
n2ygk
added a commit
to n2ygk/django-rest-framework-json-api
that referenced
this issue
Feb 7, 2018
…orted properly.
- travis caught it. This time I've done the isort locally to confirm the order.
- MIDDLEWARE_CLASSES was replaced by MIDDLEWARE as of Django 1.10 and, according to
tox.ini, this is only testing >=1.11.
Following the running the example app instructions results in several errors:
runtests.py
is missing: not found anywhere in the repo. Did you meandjango-admin.py test
?django-admin.py runserver
errors out with:Trying to set
DJANGO_SETTINGS_MODULE
complains about other missing stuff:Here's what
pip freeze
shows:I attempted these fixes:
which is weird since:
I've successfully used most of DJA based on usage.md but was looking for some examples, especially for resource-related fields and figured the example app would be a good place to start.
Happy to try and submit a PR with improved documentation if you can provide some guidance on what's supposed to be there. Thanks!
The text was updated successfully, but these errors were encountered: