- 博客(2)
- 收藏
- 关注
原创 Django class based views之TemplateDoesNotExist错误解决
先把views.py url.py html 写出来 ,有利于更好的理解Django class based viewsviews.pyfrom django.shortcuts import render,render_to_responsefrom django.views.generic.base import TemplateViewfrom django.http ...
2018-06-07 16:44:48
391
原创 django Class based views
django创建项目django-admin.py startproject xiaohongmaoDjango创建APPdjango-admin.py startapp dahuilangurls.pyfrom django.conf.urls import urlfrom dahuilang.views import HelloViewurlpatterns =[ url(r'^...
2018-06-05 17:05:11
133
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人