from django.forms import ModelForm
-from models import Sandwich, Ingredient, Artist
+from models import Sandwich, Ingredient
class SandwichForm(ModelForm):
class Meta:
model = Ingredient
- exclude = ('slug',)
-
-
-class ArtistForm(ModelForm):
-
- class Meta:
- model = Artist
exclude = ('slug',)
\ No newline at end of file