base : ça commence à ressembler un à truc (vaguement)
This commit is contained in:
parent
926bb66450
commit
cd86ea2fd6
58 changed files with 7035 additions and 18 deletions
12
event/templates/event/index.html
Normal file
12
event/templates/event/index.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block page_title %}Titre{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Lolilolilol</h2>
|
||||
<h3>Lolilolilol</h3>
|
||||
{% lorem 3 p %}
|
||||
<h2>Looool</h2>
|
||||
{% lorem 3 p %}
|
||||
{% endblock %}
|
||||
|
7
event/urls.py
Normal file
7
event/urls.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
from django.conf.urls import url
|
||||
from event.views import Index
|
||||
|
||||
app_name = 'event'
|
||||
urlpatterns = [
|
||||
url(r'^$', Index.as_view(), name='index'),
|
||||
]
|
|
@ -1,3 +1,5 @@
|
|||
from django.shortcuts import render
|
||||
from django.views.generic import TemplateView
|
||||
|
||||
# Create your views here.
|
||||
|
||||
class Index(TemplateView):
|
||||
template_name = "event/index.html"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue