This commit is contained in:
Arthur
2019-04-20 15:15:32 +02:00
parent d8ac11921f
commit 2e7553b70c
46 changed files with 1871 additions and 721 deletions

0
planning/__init__.py Normal file
View File

3
planning/admin.py Normal file
View File

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

5
planning/apps.py Normal file
View File

@@ -0,0 +1,5 @@
from django.apps import AppConfig
class PlanningConfig(AppConfig):
name = 'planning'

View File

12
planning/models.py Normal file
View File

@@ -0,0 +1,12 @@
from django.db import models
from recipe_book.models import Recipe
# Create your models here.
class WeekPlanning(models.Model):
pass
class DayMeals(models.Model):
midi = models.ForeignKey(
Recipe,
on_delete=models.CASCADE )

3
planning/tests.py Normal file
View File

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

3
planning/views.py Normal file
View File

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