2020-04-11 13:03:48 +01:00
|
|
|
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-11 13:03:48 +01:00
|
|
|
|
2020-04-13 00:31:12 +01:00
|
|
|
class HomePageView(TemplateView):
|
|
|
|
template_name = "home.html"
|
|
|
|
|
|
|
|
class CharacterDetailView(DetailView):
|
2020-04-16 20:12:02 +01:00
|
|
|
model = CharacterBase
|
2020-04-13 00:31:12 +01:00
|
|
|
template_name = "characterDetail.html"
|