3. Here is my settings.py
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'templates')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, "static")
STATICFILES_DIRS = (
os.path.join(BASE_DIR, "templates/static"),
os.path.join(BASE_DIR, "css"),
os.path.join(BASE_DIR, "img"),
os.path.join(BASE_DIR, "js"),
)
STATICFILES_FINDERS = [
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
]
├── __pycache__
│ └── manage.cpython-34.pyc
├── create_static
├── db.sqlite3
├── manage.py
├── static
│ ├── tools
├── templates
│ ├── applayout.html
| |── fonts -> static/tools/DEVELOPER/HTML_version/fonts
| |── img -> static/tools/DEVELOPER/HTML_version/img
| |── css -> static/tools/DEVELOPER/HTML_version/css
| |── js -> static/tools/DEVELOPER/HTML_version/fonts
| |── xml -> static/tools/DEVELOPER/HTML_version/fonts
│ ├── base.html
│ ├── blank_.html
│ ├── blog.html
│ ├── bootstrap-forms.html
│ ├── bootstrap-validator.html
│ ├── buttons.html
│ ├── calendar.html
│ ├── chartjs.html
│ ├── chat.html
│ ├── ckeditor.html
│ ├── datatables.html
│ ├── difver.html
│ ├── dropzone.html
│ ├── dygraphs.html
│ ├── email-template.html
│ ├── error404.html
│ ├── error500.html
│ ├── fa.html
│ ├── flags.html
│ ├── flot.html
│ ├── forgotpassword.html
│ ├── form-elements.html
│ ├── form-templates.html
│ ├── forum-post.html
│ ├── forum-topic.html
│ ├── forum.html
│ ├── gallery.html
│ ├── general-elements.html
│ ├── glyph.html
│ ├── gmap-xml.html
│ ├── grid.html
│ ├── image-editor.html
│ ├── inbox.html
│ ├── index.html
│ ├── index_ie8_prototype.html
│ ├── inline-charts.html
│ ├── invoice.html
│ ├── jqgrid.html
│ ├── jqui.html
│ ├── lock.html
│ ├── login.html
│ ├── morris.html
│ ├── nestable-list.html
│ ├── other-editors.html
│ ├── plugins.html
│ ├── pricing-table.html
│ ├── profile.html
│ ├── projects.html
│ ├── register.html
│ ├── registration
│ ├── search.html
│ ├── static
│ ├── table.html
│ ├── timeline.html
│ ├── treeview.html
│ ├── typography.html
│ ├── validation.html
│ ├── widgets.html
│ └── wizard.html
├── trainer
│ ├── __init__.py
│ ├── __pycache__
│ ├── models.py
│ ├── serializers.py
│ ├── settings.py
│ ├── urls.py
│ ├── views
│ ├── views.py
│ └── wsgi.py
└── urls.py