forked from DGNum/gestioCOF
Fix protection autocomplete
This commit is contained in:
parent
3a777a7045
commit
efd92e9967
1 changed files with 2 additions and 0 deletions
|
@ -8,8 +8,10 @@ from django.shortcuts import render
|
|||
from django.http import Http404
|
||||
from django.db.models import Q
|
||||
from gestioncof.models import User, Clipper
|
||||
from kfet.decorators import teamkfet_required
|
||||
from kfet.models import Account
|
||||
|
||||
@teamkfet_required
|
||||
def account_create(request):
|
||||
if "q" not in request.GET:
|
||||
raise Http404
|
||||
|
|
Loading…
Reference in a new issue