1
0
Fork 0

one more step towards working links in IF Mail

This commit is contained in:
Benni Bärmann 2020-10-20 08:39:00 +02:00
parent 0b21af98cc
commit a07853b129
1 changed files with 4 additions and 4 deletions

View File

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