X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/2cc7186840aa440de15f8926c3069c9fcc8cdf10..cf85775b60d096583ec64a257e8a6afe47e21cd2:/forms.py diff --git a/forms.py b/forms.py index 8685ea4..cd81af2 100644 --- a/forms.py +++ b/forms.py @@ -1,5 +1,7 @@ from django.forms import ModelForm -from models import Sandwich, Ingredient, Artist +from models import Sandwich, Ingredient +from django.contrib.auth.models import User +from django import forms class SandwichForm(ModelForm): @@ -13,11 +15,4 @@ class IngredientForm(ModelForm): class Meta: model = Ingredient - exclude = ('slug',) - - -class ArtistForm(ModelForm): - - class Meta: - model = Artist exclude = ('slug',) \ No newline at end of file