init
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
@@ -0,0 +1,5 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class PlanningConfig(AppConfig):
|
||||
name = 'planning'
|
||||
@@ -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 )
|
||||
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
@@ -0,0 +1,3 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
Reference in New Issue
Block a user