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
17ed40e
..
e471c2a
100644
(file)
--- a/
forms.py
+++ b/
forms.py
@@
-9,6
+9,7
@@
class SandwichForm(ModelForm):
class Meta:
model = Sandwich
exclude = ('slug', 'user', 'ingredients')
class Meta:
model = Sandwich
exclude = ('slug', 'user', 'ingredients')
+ fields = ('adjective', 'date_made', 'notes', 'picture')
class IngredientForm(ModelForm):
class IngredientForm(ModelForm):