made create_quest login only

This commit is contained in:
iou1name 2018-08-10 19:07:18 -04:00
parent 6e700359ce
commit 0cfb4eb697

View File

@ -3,7 +3,9 @@
/create_quest app views.
"""
from django.shortcuts import render
from django.contrib.auth.decorators import login_required
@login_required(login_url='/login/')
def index(request):
"""
The index page for creating new quests.