Renamed app and Django template

This commit is contained in:
2020-02-19 10:55:46 +01:00
parent 85d5f0b123
commit 06cd1e4291
31 changed files with 46 additions and 45 deletions

11
food_planner/models.py Normal file
View File

@ -0,0 +1,11 @@
# coding=utf-8
from django.contrib.auth.models import User
from django.db import models
class Profile(models.Model):
user = models.OneToOneField(User, models.CASCADE)
def __str__(self):
return self.user.username