Edit sandwich method added - not completely working yet. Adds a new sandwich instead...
[~kgodey/maayanwich.git] / 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')
+               fields = ('adjective', 'date_made', 'notes', 'picture')
 
 
 class IngredientForm(ModelForm):