ba-thesis/app/core/README.md

720 B

Core

This module is the main entrypoint for the application. It provides global configuration variables and shared files.

Templates

Shared template files are defined in ./templates/core/.

These include the base template, which all others inherit from, as well as the navigation bar and footer of the site.

Static files

Static files are stored in /app/static/ and served here by the webserver.

Warning: files stored in this directory are publicly available.

You can access static files in your Django template as follows:

{% load static %}

...

<img src="{% static 'medwings/images/devices/withings-scanwatch.webp' %}" alt="A Withings Scanwatch.">