Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 368 Bytes

django-best-practice.md

File metadata and controls

20 lines (17 loc) · 368 Bytes

Django imports

  • Python standard library imports
  • Code django imports
  • Third-party app imports
  • Import from your apps
  • Use relative imports
from .models import AwesomeModel
  • Use underscore in urls and html templates
name='blog_list'
  • Use PostreSql, if that is used in production.
  • Use pip, virtualenv, virtualenvwrapper & docker.