Adding common application
This commit is contained in:
parent
e228c74402
commit
fe3c3cea16
@ -39,6 +39,7 @@ INSTALLED_APPS = [
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'common',
|
||||
'member',
|
||||
]
|
||||
|
||||
|
||||
0
common/__init__.py
Normal file
0
common/__init__.py
Normal file
3
common/admin.py
Normal file
3
common/admin.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
6
common/apps.py
Normal file
6
common/apps.py
Normal file
@ -0,0 +1,6 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class CommonConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'common'
|
||||
0
common/migrations/__init__.py
Normal file
0
common/migrations/__init__.py
Normal file
3
common/models.py
Normal file
3
common/models.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
3
common/tests.py
Normal file
3
common/tests.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
3
common/views.py
Normal file
3
common/views.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
Loading…
x
Reference in New Issue
Block a user