Start App Recipes
This commit is contained in:
parent
df50a8dc42
commit
f6f1590f02
0
recipes/__init__.py
Normal file
0
recipes/__init__.py
Normal file
3
recipes/admin.py
Normal file
3
recipes/admin.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
6
recipes/apps.py
Normal file
6
recipes/apps.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class RecipesConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'recipes'
|
||||
0
recipes/migrations/__init__.py
Normal file
0
recipes/migrations/__init__.py
Normal file
3
recipes/models.py
Normal file
3
recipes/models.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
3
recipes/tests.py
Normal file
3
recipes/tests.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
3
recipes/views.py
Normal file
3
recipes/views.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
|
|
@ -50,6 +50,7 @@ ALLOWED_HOSTS = []
|
|||
# Application definition
|
||||
|
||||
INSTALLED_APPS = [
|
||||
'recipes.apps.RecipesConfig',
|
||||
'django.contrib.admin',
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
|
|
|
|||
Loading…
Reference in a new issue