prelom/django/cms/views.py

10 lines
182 B
Python
Raw Normal View History

2022-11-29 17:27:36 +01:00
from django.shortcuts import render
from django.views import generic
from .models import Page
class PageView(generic.DetailView):
model = Page
template_name = 'page.html'