-
select_related
select_related 查询优化
-
vicalloy/lbforum-site
https://github.com/vicalloy/lbforum-site
1、测试、开发、预发布、生产环境 settgins区分设置 2、django应用目录使用pip打包【django package制作】-- 本项目的lbforum-site的lbforum package路径...\lbforum-site\env\lib\python2.7\site-packages\lbforum\__init__.py ; 还有lbutils package一样。 使用到开源packages: django-el-pagination - Django EL(Endless) Pagination can be used to provide Twitter-style or Digg-style pagination, with optional Ajax support. easy-thumbnails - Easy thumbnails for Django. django-constance - A Django app for storing dynamic settings in pluggable backends (Redis and Django model backend built in) with an integration with the Django admin app. django-picklefield - A pickled object field for Django django-bower - Easy way to use bower with your Django project. django-allauth - Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication. django-simple-captcha - (验证码)Django Simple Captcha is an extremely simple, yet highly customizable Django application to add captcha images to any Django form. djangorestframework django-debug-toolbar