摘要: CBV (基于类的视图函数) 代码示例: urls.py url(r'^login/',views.MyLogin.as_view()) views.py from django.views import View class MyLogin(View): def get(self,request) 阅读全文
posted @ 2020-01-31 17:38 只会玩辅助 阅读(310) 评论(0) 推荐(0) 编辑