projects
/
climbing.kerkeslager.com
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add a basic index and some models for each area
[climbing.kerkeslager.com]
/
src
/
nutrition
/
models.py
1
from django.db import models
2
3
class Food(models.Model):
4
name = models.TextField(max_length=64)
5
brand = models.TextField(max_length=64)
6
calories = models.PositiveIntegerField()