|
@ -5,7 +5,7 @@ from .forms import ProjectForm |
|
|
from django.http import HttpResponse |
|
|
from django.http import HttpResponse |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def index(request): |
|
|
|
|
|
|
|
|
def intern(request): |
|
|
# return HttpResponse("Hello, world. You're at the input form") |
|
|
# return HttpResponse("Hello, world. You're at the input form") |
|
|
# ProjectFormSet = modelformset_factory(Project, fields='__all__') |
|
|
# ProjectFormSet = modelformset_factory(Project, fields='__all__') |
|
|
if request.method == 'POST': |
|
|
if request.method == 'POST': |
|
@ -25,3 +25,6 @@ def index(request): |
|
|
|
|
|
|
|
|
def done(request): |
|
|
def done(request): |
|
|
return HttpResponse("Your data is save now.") |
|
|
return HttpResponse("Your data is save now.") |
|
|
|
|
|
|
|
|
|
|
|
def extern(request): |
|
|
|
|
|
return HttpResponse("The world out there is large and dangerous") |