ba-thesis/app/core
2023-08-17 20:14:34 +02:00
..
templates/core feat: update styling 2023-08-01 06:52:18 +02:00
__init__.py feat: migrate to django backend 2023-07-21 10:57:46 +02:00
asgi.py feat: migrate to django backend 2023-07-21 10:57:46 +02:00
README.md docs: fix typos and broken links 2023-08-02 15:17:46 +02:00
settings.py feat: fix deployment settings 2023-08-17 20:14:34 +02:00
urls.py docs: split README by module and add some more information 2023-08-02 14:58:04 +02:00
utils.py feat: add production setup files 2023-08-17 18:19:46 +02:00
wsgi.py feat: migrate to django backend 2023-07-21 10:57:46 +02:00

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.">