摘要:
主要功能是渲染模板,看官例: from django.views.generic.base import TemplateView from articles.models import Article class HomePageView(TemplateView): template_name 阅读全文
摘要:
主要功能是渲染模板,看官例: from django.views.generic.base import TemplateView from articles.models import Article class HomePageView(TemplateView): template_name 阅读全文
|