最赞回答 / 斑比站在你身旁
好吧,
def article_page(request, article_id): article = models.Article.objects.get(pk=article_id)这段的object少个s……
2019-03-12
最新回答 / weixin_慕莱坞1374193
这是在项目目录下新建的django_wsgi.py内容#!/usr/bin/env python# coding: utf-8import osimport sysos.environ.setdefault("DJANGO_SETTINGS_MODULE", "myblog.settings")from django.core.handlers.wsgi import WSGIHandlerapplication = WSGIHandler()~ ...
2019-02-28