...
Navigate to the root directory of the Django project (where the
manage.py
file is located).Use
manage.py
to initialize the app:Code Block python3 manage.py startapp <app name>
Register the app with the project.
Go to the project folder (e.g.
/opt/ece_li_scheduling/ece_li_scheduling
) where thesettings.py
file is stored.Add the name of the new app to the
INSTALLED_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>', ]