From 0cfb4eb6979ff952e1901cad501b6739217cba32 Mon Sep 17 00:00:00 2001 From: iou1name Date: Fri, 10 Aug 2018 19:07:18 -0400 Subject: [PATCH] made create_quest login only --- create_quest/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/create_quest/views.py b/create_quest/views.py index cb78474..65ffd84 100644 --- a/create_quest/views.py +++ b/create_quest/views.py @@ -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.