django make new application folder code example
Example 1: make new app folder in django templates dir
#settings.py
TEMPLATES = [
{
...
'DIRS': [os.path.join(BASE_DIR, 'templates'),
os.path.join(BASE_DIR, 'templates', 'the_folder_you_created'),
...
]
}
]
Example 2: create new django project
django-admin startproject mysite
Example 3: create new django project
django-admin startproject project_name
Example 4: django make new application folder
python manage.py startapp appname