...
Go to the project folder (e.g.
/opt/ece_li_scheduling/ece_li_scheduling
) where thesettings.py
file is stored.Add In the
settings.py
file, add the name of the new app to theINSTALLED_APPS
list:Code Block INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', '<app name>', ]
In the
urls.py
file, direct all traffic for the new app to its.urls
file.Code Block urlpatterns = [ path('admin/', admin.site.urls), path('<app name>/', include('<app name>.urls')) ]