Finally realised how static files are served. Made a new branch because of replanning of the workflow. Old progress can be seen at branch django_old. I will also be removing the flask branch shortly.

This commit is contained in:
Yamozha
2021-02-07 04:37:11 +02:00
parent bbf3a75add
commit 9bc05bc6bf
15 changed files with 123 additions and 0 deletions

View File

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
{% load static %}
<meta charset="utf-8">
<title>Home</title>
<meta name="description" content="Start throwing out trash in an eco-friendly way!">
<meta name="author" content="Yamozha">
<link rel="stylesheet" href="{% static "css/style.css" %}">
</head>
<body>
{% block content %}
{% endblock %}
{% csrf_token %}
<h1>Test!</h1>
<h2><strong>{{ currencyTotal }}</strong></h2>
</body>
</html>