|
@ -6,7 +6,7 @@ from formtools.wizard.views import CookieWizardView |
|
|
from .forms import ProjectForm, VolunteerForm, LibraryForm, IFGForm |
|
|
from .forms import ProjectForm, VolunteerForm, LibraryForm, IFGForm |
|
|
from .models import Project |
|
|
from .models import Project |
|
|
|
|
|
|
|
|
def intern(request): |
|
|
|
|
|
|
|
|
def project(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': |
|
@ -24,6 +24,16 @@ def intern(request): |
|
|
form = ProjectForm() |
|
|
form = ProjectForm() |
|
|
return render(request, 'input/project.html', {'form': form}) |
|
|
return render(request, 'input/project.html', {'form': form}) |
|
|
|
|
|
|
|
|
|
|
|
def accreditation(request): |
|
|
|
|
|
pass |
|
|
|
|
|
|
|
|
|
|
|
def travel(request): |
|
|
|
|
|
pass |
|
|
|
|
|
|
|
|
|
|
|
def certificate(request): |
|
|
|
|
|
pass |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def done(request): |
|
|
def done(request): |
|
|
return HttpResponse("Your data is save now.") |
|
|
return HttpResponse("Your data is save now.") |
|
|
|
|
|
|
|
|