added site app
This commit is contained in:
parent
63afd00eab
commit
81fbceca07
7 changed files with 18 additions and 0 deletions
0
sites/__init__.py
Normal file
0
sites/__init__.py
Normal file
3
sites/admin.py
Normal file
3
sites/admin.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
from django.contrib import admin
|
||||||
|
|
||||||
|
# Register your models here.
|
6
sites/apps.py
Normal file
6
sites/apps.py
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
|
class SitesConfig(AppConfig):
|
||||||
|
default_auto_field = 'django.db.models.BigAutoField'
|
||||||
|
name = 'sites'
|
0
sites/migrations/__init__.py
Normal file
0
sites/migrations/__init__.py
Normal file
3
sites/models.py
Normal file
3
sites/models.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
from django.db import models
|
||||||
|
|
||||||
|
# Create your models here.
|
3
sites/tests.py
Normal file
3
sites/tests.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
from django.test import TestCase
|
||||||
|
|
||||||
|
# Create your tests here.
|
3
sites/views.py
Normal file
3
sites/views.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
from django.shortcuts import render
|
||||||
|
|
||||||
|
# Create your views here.
|
Loading…
Add table
Add a link
Reference in a new issue