在我的主应用程序中,我使用了django的get_object_or_404模块。self.run(*args, **kwargs)NameError: global name 'get_object_orHttpResponseRedirectfrom django.shortcuts import
First argument to get_object_or_404() must be a Model, Manager, or QuerySet, not 'unicode'.16/todays_post/Exception Type: ValueError
Exception Value:First argument to get_object_or\mysite\python-ve\env\lib\site-packages\django\shortcuts.