diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst index e46c5209..08bca907 100644 --- a/CONTRIBUTORS.rst +++ b/CONTRIBUTORS.rst @@ -53,6 +53,7 @@ Listed in alphabetical order. Andy Rose Anna Callahan `@jazztpt`_ Antonia Blair `@antoniablair`_ @antoniablairart + Arcuri Davide `@dadokkio`_ Areski Belaid `@areski`_ Ashley Camba Barclay Gauld `@yunti`_ @@ -67,6 +68,7 @@ Listed in alphabetical order. Burhan Khalid            `@burhan`_                   @burhan Catherine Devlin `@catherinedevlin`_ Cédric Gaspoz `@cgaspoz`_ + Charlie Smith `@chuckus`_ Chris Curvey `@ccurvey`_ Chris Franklin Chris Franklin `@hairychris`_ @@ -127,6 +129,7 @@ Listed in alphabetical order. Peter Bittner `@bittner`_ Raphael Pierzina `@hackebrot`_ Raony Guimarães Corrêa `@raonyguimaraes`_ + Reggie Riser `@reggieriser`_ René Muhl `@rm--`_ Roman Afanaskin `@siauPatrick`_ Roman Osipenko `@romanosipenko`_ @@ -177,6 +180,7 @@ Listed in alphabetical order. .. _@cgaspoz: https://github.com/cgaspoz .. _@chrisdev: https://github.com/chrisdev .. _@ChrisPappalardo: https://github.com/ChrisPappalardo +.. _@chuckus: https://github.com/chuckus .. _@Collederas: https://github.com/Collederas .. _@ddiazpinto: https://github.com/ddiazpinto .. _@dezoito: https://github.com/dezoito @@ -219,6 +223,7 @@ Listed in alphabetical order. .. _@oubiga: https://github.com/oubiga .. _@parbhat: https://github.com/parbhat .. _@raonyguimaraes: https://github.com/raonyguimaraes +.. _@reggieriser: https://github.com/reggieriser .. _@rm--: https://github.com/rm-- .. _@romanosipenko: https://github.com/romanosipenko .. _@shireenrao: https://github.com/shireenrao diff --git a/README.rst b/README.rst index 2b239f78..23cc2672 100644 --- a/README.rst +++ b/README.rst @@ -12,13 +12,16 @@ Cookiecutter Django .. image:: https://badges.gitter.im/Join Chat.svg :target: https://gitter.im/pydanny/cookiecutter-django?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge -Powered by Cookiecutter_, Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly. +Powered by Cookiecutter_, Cookiecutter Django is a framework for jumpstarting +production-ready Django projects quickly. * Documentation: https://cookiecutter-django.readthedocs.io/en/latest/ * See Troubleshooting_ for common errors and obstacles -* If you have problems with Cookiecutter Django, please open issues_ don't send emails to the maintainers. -* Need quick professional paid support? Contact `support@cookiecutter.io`_. This includes configuring your servers, -fixing bugs, reviewing your code and everything in between. +* If you have problems with Cookiecutter Django, please open issues_ don't send + emails to the maintainers. +* Need quick professional paid support? Contact `support@cookiecutter.io`_. + This includes configuring your servers, fixing bugs, reviewing your code and + everything in between. .. _cookiecutter: https://github.com/audreyr/cookiecutter @@ -34,7 +37,7 @@ Features * For Django 1.10 * Works with Python 3.4.x or 3.5.x. Python 3.6 is experimental * Renders Django projects with 100% starting test coverage -* Twitter Bootstrap_ v4.0.0 - alpha 6 (`maintained Foundation fork`_ also available) +* Twitter Bootstrap_ v4.0.0 - beta 1 (`maintained Foundation fork`_ also available) * 12-Factor_ based settings via django-environ_ * Secure by default. We believe in SSL. * Optimized development and production settings diff --git a/docs/linters.rst b/docs/linters.rst index 4750e161..feb59d03 100644 --- a/docs/linters.rst +++ b/docs/linters.rst @@ -30,14 +30,14 @@ The config for pylint is located in .pylintrc. It specifies: * Disable linting messages for missing docstring and invalid name * max-parents=13 -pep8 +pycodestyle ----- This is included in flake8's checks, but you can also run it separately to see a more detailed report: - $ pep8 + $ pycodestyle -The config for pep8 is located in setup.cfg. It specifies: +The config for pycodestyle is located in setup.cfg. It specifies: * Set max line length to 120 chars * Exclude ``.tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules`` diff --git a/requirements.txt b/requirements.txt index b87473c1..90064660 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,8 +4,8 @@ sh==1.12.14 binaryornot==0.4.4 # Testing -pytest==3.2.1 -pep8==1.7.0 +pytest==3.2.3 +pycodestyle==2.3.1 pyflakes==1.6.0 -tox==2.7.0 +tox==2.9.1 pytest-cookies==0.2.0 diff --git a/{{cookiecutter.project_slug}}/.gitignore b/{{cookiecutter.project_slug}}/.gitignore index 70795664..65feea00 100644 --- a/{{cookiecutter.project_slug}}/.gitignore +++ b/{{cookiecutter.project_slug}}/.gitignore @@ -361,3 +361,9 @@ mailhog {% endif %} {{ cookiecutter.project_slug }}/media/ + +{% if cookiecutter.use_docker == 'y' -%} +# Added to maintain local compose files which are ignored by something above. +# See issue https://github.com/pydanny/cookiecutter-django/issues/1321 +!/compose/local/ +{% endif %} diff --git a/{{cookiecutter.project_slug}}/.idea/runConfigurations/Docker__migrate.xml b/{{cookiecutter.project_slug}}/.idea/runConfigurations/Docker__migrate.xml index 98fff92e..95f45bfb 100644 --- a/{{cookiecutter.project_slug}}/.idea/runConfigurations/Docker__migrate.xml +++ b/{{cookiecutter.project_slug}}/.idea/runConfigurations/Docker__migrate.xml @@ -6,7 +6,7 @@ -