Commit b721a482 authored by lhark's avatar lhark

Add minimal logs app and root index page

parent 8343478a
from django.contrib import admin
# Register your models here.
from django.db import models
# Create your models here.
{% extends "base.html" %}
{% load bootstrap3 %}
{% block content %}
<h1>Bienvenue sur re2o.rez !</h1>
{% endblock %}
from django.test import TestCase
# Create your tests here.
from django.shortcuts import render
def index(request):
return render(request, 'logs/index.html')
......@@ -15,7 +15,10 @@ Including another URLconf
from django.conf.urls import include, url
from django.contrib import admin
from logs.views import index
urlpatterns = [
url(r'^$', index),
url(r'^admin/', include(admin.site.urls)),
url(r'^users/', include('users.urls')),
url(r'^search/', include('search.urls')),
......
......@@ -3,10 +3,11 @@ from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^new_user/$', views.new_user, name='new_user'),
url(r'^edit_info/(?P<userid>[0-9]+)$', views.edit_info, name='edit_info'),
url(r'^state/(?P<userid>[0-9]+)$', views.state, name='state'),
url(r'^password/(?P<userid>[0-9]+)$', views.password, name='password'),
url(r'^new_user/$', views.new_user, name='users-new-user'),
url(r'^edit_info/(?P<userid>[0-9]+)$', views.edit_info, name='users-edit-info'),
url(r'^state/(?P<userid>[0-9]+)$', views.state, name='users-state'),
url(r'^password/(?P<userid>[0-9]+)$', views.password, name='users-password'),
url(r'^$', views.index, name='users-index'),
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment