Start app mainsite
This commit is contained in:
parent
0ffc0de80d
commit
9f4ed6432e
8 changed files with 18 additions and 0 deletions
|
@ -27,6 +27,7 @@ INSTALLED_APPS = [
|
|||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'mainsite',
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
|
|
0
mainsite/__init__.py
Normal file
0
mainsite/__init__.py
Normal file
3
mainsite/admin.py
Normal file
3
mainsite/admin.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
5
mainsite/apps.py
Normal file
5
mainsite/apps.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class MainsiteConfig(AppConfig):
|
||||
name = 'mainsite'
|
0
mainsite/migrations/__init__.py
Normal file
0
mainsite/migrations/__init__.py
Normal file
3
mainsite/models.py
Normal file
3
mainsite/models.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
3
mainsite/tests.py
Normal file
3
mainsite/tests.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
3
mainsite/views.py
Normal file
3
mainsite/views.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
Loading…
Reference in a new issue