prima-web-interface/src
templates
to store template html and js files, i.e. using jinja instructionsstatic
to store fixed html, js or css files urls.py
containing the list of URL patterns for the appviews.py
containing the functions to be executed on GET on POST requestssrc/prima_site/settings.py
', adding the name of the new directory where neededinclude
in src/main/urls.py
src/main/templates/
to set the proper URL on the proper link. The URL has to be one of those defined in urls.py
Static files are e.g. html, js or css files which are included in the html code. To include them correctly use a tag like
{% static '<filename>' %}
where <filename>
contains no path.
Models are container classes which can be used to store data in the DB.
models.py
in the app directorysrc/main/admin.py