views py def add_application request add_form AddApplicationNameFo rm

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#views.py
def add_application(request):
add_form = AddApplicationNameForm()
select_form = SelectExistingApplicationForm()
obj_count = Application.objects.all().count()
stuff = {'add_form': add_form, 'select_form': select_form, 'obj_count': obj_count}
return render_to_response("add_application.html", stuff)