Start app mainsite

This commit is contained in:
Théophile Bastian 2017-09-21 10:58:19 +02:00
parent 0ffc0de80d
commit 9f4ed6432e
8 changed files with 18 additions and 0 deletions

View file

@ -27,6 +27,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'mainsite',
]
MIDDLEWARE = [

0
mainsite/__init__.py Normal file
View file

3
mainsite/admin.py Normal file
View file

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

5
mainsite/apps.py Normal file
View file

@ -0,0 +1,5 @@
from django.apps import AppConfig
class MainsiteConfig(AppConfig):
name = 'mainsite'

View file

3
mainsite/models.py Normal file
View file

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
mainsite/tests.py Normal file
View file

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

3
mainsite/views.py Normal file
View file

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.