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.