git.ithinksw.org
/
~kgodey
/
maayanwich.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Edit sandwich method added - not completely working yet. Adds a new sandwich instead...
[~kgodey/maayanwich.git]
/
forms.py
diff --git
a/forms.py
b/forms.py
index
a2c5fc8
..
e471c2a
100644
(file)
--- a/
forms.py
+++ b/
forms.py
@@
-8,7
+8,8
@@
class SandwichForm(ModelForm):
class Meta:
model = Sandwich
- exclude = ('slug', 'user')
+ exclude = ('slug', 'user', 'ingredients')
+ fields = ('adjective', 'date_made', 'notes', 'picture')
class IngredientForm(ModelForm):