Browse Source

one more step towards working links in IF Mail

master
Benni Baermann 4 years ago
parent
commit
a07853b129
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      input/views.py

+ 4
- 4
input/views.py View File

@ -10,11 +10,11 @@ from django.template import Context
from .forms import ProjectForm, VolunteerForm, LibraryForm, IFGForm
from .models import Project, TYPE_CHOICES
def authorize(request):
print('AUTHORIZE!')
def authorize(request, choice, pk):
return HttpResponse(f"AUTHORIZE! choice: {choice}, pk: {pk}")
def deny(request):
print('DENY!')
def deny(request, choice, pk):
return HttpResponse(f"DENY! choice: {choice}, pk: {pk}")
def project(request):
# return HttpResponse("Hello, world. You're at the input form")

Loading…
Cancel
Save