add style.css for index

This commit is contained in:
Florian du Garage Num 2024-03-22 16:50:27 +01:00
parent 593c2f0ddd
commit 3f98ea9d29
3 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,3 @@
h1 {
color: green;
}

View File

@ -1 +1,5 @@
{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'platformalim/style.css' %}" />
<h1>{{ welcome_message }}</h1>

View File

@ -1,5 +1,6 @@
from django.shortcuts import render
from django.template import loader
from django.contrib import staticfiles
from .models import Pro, Association
def index(request):