start app recipes

This commit is contained in:
Benjamin 2022-12-28 11:01:40 +01:00
parent cf63cc2344
commit afc92c31e0
8 changed files with 19 additions and 0 deletions

0
recipes/__init__.py Normal file
View file

3
recipes/admin.py Normal file
View file

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

6
recipes/apps.py Normal file
View file

@ -0,0 +1,6 @@
from django.apps import AppConfig
class RecipesConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'recipes'

View file

3
recipes/models.py Normal file
View file

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
recipes/tests.py Normal file
View file

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

3
recipes/views.py Normal file
View file

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.

View file

@ -32,6 +32,7 @@ ALLOWED_HOSTS = []
# Application definition # Application definition
INSTALLED_APPS = [ INSTALLED_APPS = [
'recipes.apps.RecipesConfig',
'django.contrib.admin', 'django.contrib.admin',
'django.contrib.auth', 'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.contenttypes',