made create_quest login only
This commit is contained in:
parent
6e700359ce
commit
0cfb4eb697
|
@ -3,7 +3,9 @@
|
||||||
/create_quest app views.
|
/create_quest app views.
|
||||||
"""
|
"""
|
||||||
from django.shortcuts import render
|
from django.shortcuts import render
|
||||||
|
from django.contrib.auth.decorators import login_required
|
||||||
|
|
||||||
|
@login_required(login_url='/login/')
|
||||||
def index(request):
|
def index(request):
|
||||||
"""
|
"""
|
||||||
The index page for creating new quests.
|
The index page for creating new quests.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user