git.ithinksw.org
/
~kgodey
/
maayanwich.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Edited Sandwich model to have a Patron and a user. Added form stuff to views.py.
[~kgodey/maayanwich.git]
/
views.py
1
from django.http import HttpResponse
2
from forms import SandwichForm, IngredientForm, ArtistForm
3
4
5
def add_sandwich(request):
6
sform = SandwichForm()
7
8
9
def add_artist(request):
10
aform = ArtistForm()
11
12
13
def add_ingredient(request):
14
iform = IngredientForm()