django-exalted/app/views.py

12 lines
336 B
Python
Raw Normal View History

from django.shortcuts import render
2020-04-13 00:31:12 +01:00
from django.views.generic.base import TemplateView
from django.views.generic.detail import DetailView
from .models import *
2020-04-13 00:31:12 +01:00
class HomePageView(TemplateView):
template_name = "home.html"
class CharacterDetailView(DetailView):
model = characterBase
template_name = "characterDetail.html"