website: create django app
This commit is contained in:
parent
1a0a6e0739
commit
1b024d1fd6
15 changed files with 220 additions and 0 deletions
0
websiteapp/__init__.py
Normal file
0
websiteapp/__init__.py
Normal file
3
websiteapp/admin.py
Normal file
3
websiteapp/admin.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
6
websiteapp/apps.py
Normal file
6
websiteapp/apps.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class WebsiteappConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'websiteapp'
|
||||
0
websiteapp/migrations/__init__.py
Normal file
0
websiteapp/migrations/__init__.py
Normal file
3
websiteapp/models.py
Normal file
3
websiteapp/models.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
3
websiteapp/tests.py
Normal file
3
websiteapp/tests.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
1
websiteapp/urls.py
Normal file
1
websiteapp/urls.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
urlpatterns = []
|
||||
3
websiteapp/views.py
Normal file
3
websiteapp/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