17 lines
359 B
Python
17 lines
359 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
/user app views.
|
|
"""
|
|
from django.http import HttpResponse
|
|
from django.shortcuts import redirect, render
|
|
from django.core.exceptions import ObjectDoesNotExist
|
|
|
|
from .models import User
|
|
from quest.models import Quest
|
|
|
|
def index(request):
|
|
"""
|
|
The user index page.
|
|
"""
|
|
return HttpResponse("Hello, world. You're at the user index.")
|