mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-10 19:57:09 +03:00
Fixes #345 explain need for django.contrib.sites
This commit is contained in:
parent
39dffcbf9f
commit
07514be580
|
@ -2,12 +2,13 @@
|
|||
All enhancements and patches to cookiecutter-django will be documented in this file.
|
||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## [2016-1-13]
|
||||
### Changed
|
||||
- Update setup.py version to 1.9.1 to match Django version. (@Collederas)
|
||||
## [2016-1-16]
|
||||
### Add explanation for having `django.contrib.sites`. (@pydanny)
|
||||
|
||||
|
||||
## [2016-1-13]
|
||||
### Changed
|
||||
- Update setup.py version to 1.9.1 to match Django version. (@Collederas)
|
||||
- Require Wheel 0.26.0. Needed to install certain packages on CPython 3.5+ like Pillow and psycopg2 (@audreyr)
|
||||
|
||||
## [2016-1-9]
|
||||
|
|
10
docs/faq.rst
10
docs/faq.rst
|
@ -3,6 +3,16 @@ FAQ
|
|||
|
||||
.. index:: FAQ, 12-Factor App
|
||||
|
||||
Why is there a django.contrib.sites directory in cookiecutter-django?
|
||||
---------------------------------------------------------------------
|
||||
|
||||
It is there to add a migration so you don't have to manually change the ``sites.Site`` record from ``example.com`` to whatever your domain is. Instead, your ``{{cookiecutter.domain_name}}`` and {{cookiecutter.project_name}} value is placed by **Cookiecutter** in the domain and name fields respectively.
|
||||
|
||||
See `0002_set_site_domain_and_name.py`_.
|
||||
|
||||
.. _`0002_set_site_domain_and_name.py`: https://github.com/pydanny/cookiecutter-django/blob/master/%7B%7Bcookiecutter.repo_name%7D%7D/%7B%7Bcookiecutter.repo_name%7D%7D/contrib/sites/migrations/0002_set_site_domain_and_name.py
|
||||
|
||||
|
||||
Why aren't you using just one configuration file (12-Factor App)
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user