Django问题集

专门开篇文章记录一下学习 Django 过程中遇到的各种问题。

环境配置问题

AttributeError: module ‘django.conf.global_settings’ has no attribute ‘TEMPLATE_CONTEXT_PROCESSORS’

出处:https://github.com/gadventures/django-fsm-admin/issues/76

https://stackoverflow.com/questions/39315348/cannot-import-name-template-context-processors

From link above, stated that:
It's already deprecated in Django 1.8 and removed completely in Django 1.10

You need to set install_url to use ShareThis. Please set it in _config.yml.
You forgot to set the business or currency_code for Paypal. Please set it in _config.yml.

评论

You forgot to set the shortname for Disqus. Please set it in _config.yml.