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
Made the user field on the sandwich auto fill in and removed it from the displayed...
[~kgodey/maayanwich.git]
/
forms.py
diff --git
a/forms.py
b/forms.py
index
380f6a4
..
a2c5fc8
100644
(file)
--- a/
forms.py
+++ b/
forms.py
@@
-8,7
+8,7
@@
class SandwichForm(ModelForm):
class Meta:
model = Sandwich
class Meta:
model = Sandwich
- exclude = ('slug',)
+ exclude = ('slug',
'user'
)
class IngredientForm(ModelForm):
class IngredientForm(ModelForm):