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
Removed "Artist" model and all references to it - unnecessary!
[~kgodey/maayanwich.git]
/
forms.py
diff --git
a/forms.py
b/forms.py
index
8685ea4
..
c5a5ae6
100644
(file)
--- a/
forms.py
+++ b/
forms.py
@@
-1,5
+1,5
@@
from django.forms import ModelForm
from django.forms import ModelForm
-from models import Sandwich, Ingredient
, Artist
+from models import Sandwich, Ingredient
class SandwichForm(ModelForm):
class SandwichForm(ModelForm):
@@
-13,11
+13,4
@@
class IngredientForm(ModelForm):
class Meta:
model = Ingredient
class Meta:
model = Ingredient
- exclude = ('slug',)
-
-
-class ArtistForm(ModelForm):
-
- class Meta:
- model = Artist
exclude = ('slug',)
\ No newline at end of file
exclude = ('slug',)
\ No newline at end of file