Add a basic index and some models for each area
[climbing.kerkeslager.com] / src / nutrition / models.py
index 71a8362..ba7d415 100644 (file)
@@ -1,3 +1,6 @@
 from django.db import models
 
-# Create your models here.
+class Food(models.Model):
+    name = models.TextField(max_length=64)
+    brand = models.TextField(max_length=64)
+    calories = models.PositiveIntegerField()