Changelog correction and merge.

This commit is contained in:
Audrey Roy Greenfeld 2015-09-22 08:52:51 -07:00
commit 221178ad84
7 changed files with 27 additions and 14 deletions

View File

@ -2,10 +2,16 @@
All enhancements and patches to cookiecutter-django will be documented in this file. All enhancements and patches to cookiecutter-django will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/). This project adheres to [Semantic Versioning](http://semver.org/).
## [2015-09-17] ## [2015-09-22]
### Added ### Added
- Add Python version option for deployment (@yunti) - Add Python version option for deployment (@yunti)
## [2015-09-21]
### Changed
- django-mailgun-redux to django-mailgun, because @pydanny now has commit rights
### Removed
- Excess "loggers" from LOGGING setting (@siauPatrick)
## [2015-09-18] ## [2015-09-18]
### Changed ### Changed
- Major reorganization of docs (@pydanny) - Major reorganization of docs (@pydanny)

View File

@ -53,6 +53,7 @@ stepmr / @stepmr
Adam Bogdał / @bogdal Adam Bogdał / @bogdal
Barclay Gauld / @yunti Barclay Gauld / @yunti
Ian Lee / @IanLee1521 Ian Lee / @IanLee1521
Roman Afanaskin / @siauPatrick
* Possesses commit rights * Possesses commit rights

View File

@ -13,5 +13,6 @@
"use_celery": "n", "use_celery": "n",
"use_maildump": "n", "use_maildump": "n",
"use_sentry": "n", "use_sentry": "n",
"windows": "n" "windows": "n",
"use_python2": "n"
} }

View File

@ -1,4 +1,8 @@
{% if cookiecutter.use_python2 == 'n' -%}
FROM python:3.4
{% else %}
FROM python:2.7 FROM python:2.7
{%- endif %}
ENV PYTHONUNBUFFERED 1 ENV PYTHONUNBUFFERED 1
# Requirements have to be pulled and installed here, otherwise caching won't work # Requirements have to be pulled and installed here, otherwise caching won't work

View File

@ -260,15 +260,13 @@ LOGGING = {
'django.request': { 'django.request': {
'handlers': ['mail_admins'], 'handlers': ['mail_admins'],
'level': 'ERROR', 'level': 'ERROR',
'propagate': True, 'propagate': True
}, },
'loggers': {
'django.security.DisallowedHost': { 'django.security.DisallowedHost': {
'level': 'ERROR', 'level': 'ERROR',
'handlers': ['console', 'mail_admins'], 'handlers': ['console', 'mail_admins'],
'propagate': True, 'propagate': True
}, }
},
} }
} }
{% if cookiecutter.use_celery == "y" %} {% if cookiecutter.use_celery == "y" %}

View File

@ -17,7 +17,7 @@ Collectfast==0.2.3
# Mailgun Support # Mailgun Support
# --------------- # ---------------
django-mailgun-redux==0.3.0 django-mailgun==0.6.0
{% if cookiecutter.use_sentry == "y" -%} {% if cookiecutter.use_sentry == "y" -%}
# Raven is the Sentry client # Raven is the Sentry client

View File

@ -0,0 +1,3 @@
{% if cookiecutter.use_python2 == 'n' -%}
python-3.4.3
{%- endif %}