Horje
django.core.exceptions.ImproperlyConfigured: Requested setting ROOT_URLCONF, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call se
django.core.exceptions.ImproperlyConfigured: Requested setting ROOT_URLCONF, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
# It's probably easier to just use manage.py instead of django-admin
python3 manage.py <command>
# If you really want to use django-admin, you can try this
export PYTHONPATH=/home/YOUR_NAME/project_path
export DJANGO_SETTINGS_MODULE=my_project.settings
django-admin <command>




Shell

Related
how to remove git from a project Code Example how to remove git from a project Code Example
untrack git project Code Example untrack git project Code Example
pypy install matplotlib Code Example pypy install matplotlib Code Example
stop npm server cmd Code Example stop npm server cmd Code Example
Failed to load module "canberra-gtk-module" Code Example Failed to load module "canberra-gtk-module" Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9