Added Django startproject template for static_project and static_app
This commit is contained in:
0
static_project/static_app/__init__.py
Normal file
0
static_project/static_app/__init__.py
Normal file
3
static_project/static_app/admin.py
Normal file
3
static_project/static_app/admin.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
6
static_project/static_app/apps.py
Normal file
6
static_project/static_app/apps.py
Normal file
@ -0,0 +1,6 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class StaticAppConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'static_app'
|
0
static_project/static_app/migrations/__init__.py
Normal file
0
static_project/static_app/migrations/__init__.py
Normal file
3
static_project/static_app/models.py
Normal file
3
static_project/static_app/models.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
3
static_project/static_app/tests.py
Normal file
3
static_project/static_app/tests.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
3
static_project/static_app/views.py
Normal file
3
static_project/static_app/views.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
Reference in New Issue
Block a user