我正在尝试使用该Django-Postman框架在中的用户之间发送消息Django 2.0。我已经安装了应用程序,并做了必要的更改,如框架文档中所述。但是,当我尝试转到消息URL时,我得到了一个空白页(如此屏幕截图):到目前为止,这是我所做的:已安装 django-postman在 settings.pyINSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'postman', 'account', 'cart', 'shop', 'landingpage',]POSTMAN_I18N_URLS = True # default is FalsePOSTMAN_DISALLOW_ANONYMOUS = True # default is FalsePOSTMAN_DISALLOW_MULTIRECIPIENTS = True # default is FalsePOSTMAN_DISALLOW_COPIES_ON_REPLY = True # default is FalsePOSTMAN_DISABLE_USER_EMAILING = True # default is FalsePOSTMAN_FROM_EMAIL = 'from@host.tld' # default is DEFAULT_FROM_EMAILPOSTMAN_AUTO_MODERATE_AS = True # default is NonePOSTMAN_SHOW_USER_AS = 'get_full_name' # default is NonePOSTMAN_NAME_USER_AS = 'last_name' # default is NonePOSTMAN_QUICKREPLY_QUOTE_BODY = True # default is FalsePOSTMAN_NOTIFIER_APP = None # default is 'notification'POSTMAN_MAILER_APP = None # default is 'mailer'我已经以这种方式链接了网址 urls.pyurl(r'^messages/', include('postman.urls', namespace='postman')),我怎么解决这个问题?
添加回答
举报
0/150
提交
取消