django: create project/app
This commit is contained in:
parent
387fd0d9b4
commit
c98beebc10
13 changed files with 221 additions and 0 deletions
0
app/__init__.py
Normal file
0
app/__init__.py
Normal file
3
app/admin.py
Normal file
3
app/admin.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
6
app/apps.py
Normal file
6
app/apps.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class AppConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'app'
|
0
app/migrations/__init__.py
Normal file
0
app/migrations/__init__.py
Normal file
3
app/models.py
Normal file
3
app/models.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
3
app/tests.py
Normal file
3
app/tests.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
3
app/views.py
Normal file
3
app/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