X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/2cc7186840aa440de15f8926c3069c9fcc8cdf10..d4c7020dea9dfb1de97b9048b70d168c52022d79:/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