index.htmlis simply a template and usually you put it in
project/templates/fred/index.html. I suggest the first one as it means you will be able to locate all your app templates quickly (ie. each app has template folder), as opposed to having 1 massive templates folder in your project directory (it's still useful to have it, for some project wide stuff).
SalesConfigso it's clear it's a
salesapp and so it refers to
sales/index.htmlfor template and for views as
fredapp as simply
'fred.apps.FredConfig'in your settings, then you can, in your
__init__.pyfile in your
fredapp add line:
default_app_config = 'fred.apps.FredConfig'
django.contrib.adminfor example instead of
default_app_config = 'django.contrib.admin.apps.AdminConfig'- but it doesn't matter in the end
pip install django-material --upgradeshould do the magic (I believe it's now version 1.2 that is the newest, at least for django-material-pro)
Likewise various iron attributes in CSS to make the view occupy the whole window -
display: block; @apply(--layout-fit); @apply(--layout-vertical); @apply(--layout-center); @apply(--layout-center-justified);