TEMPLATES. As for the static files, you have to run manage.py collectstatic in your production. Regarding the FredConfig, well, before installing django-material you should have had FredConfig in the installed apps already, otherwise your project would not know that it should use/display the fred app.
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).
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);