Merge branch 'master' into move-orphan-dev.yml-variables-to-dev.env

This commit is contained in:
Nikita P. Shupeyko 2017-04-11 15:45:34 +03:00
commit fd061873dd
9 changed files with 35 additions and 25 deletions

View File

@ -265,10 +265,26 @@ Support This Project
This project is maintained by volunteers. Support their efforts by spreading the word about: This project is maintained by volunteers. Support their efforts by spreading the word about:
.. image:: https://s3.amazonaws.com/tsacademy/images/tsa-logo-250x60-transparent-01.png Two Scoops Press
:name: Two Scoops Academy ~~~~~~~~~~~~~~~~~~
.. image:: https://cdn.shopify.com/s/files/1/0304/6901/t/2/assets/logo.png?11985289740589874793
:name: Two Scoops Press
:align: center :align: center
:alt: Two Scoops Academy :alt: Two Scoops Press
:target: https://twoscoops.academy/ :target: https://twoscoopspress.com
Two Scoops Press brings you the best dairy-themed Django references in the universe
pyup
~~~~~~~~~~~~~~~~~~
.. image:: https://pyup.io/static/images/logo.png
:name: pyup
:align: center
:alt: pyup
:target: https://pyup.io/
Pyup brings you automated security and dependency updates used by Google and other organizations. Free for open source projects!
.. _`PyPA Code of Conduct`: https://www.pypa.io/en/latest/code-of-conduct/ .. _`PyPA Code of Conduct`: https://www.pypa.io/en/latest/code-of-conduct/

View File

@ -1,10 +1,10 @@
cookiecutter==1.5.1 cookiecutter==1.5.1
flake8==3.3.0 # pyup: != 2.6.0 flake8==3.3.0 # pyup: != 2.6.0
sh==1.12.10 sh==1.12.13
binaryornot==0.4.0 binaryornot==0.4.0
# Testing # Testing
pytest==3.0.6 pytest==3.0.7
pep8==1.7.0 pep8==1.7.0
pyflakes==1.5.0 pyflakes==1.5.0
tox==2.6.0 tox==2.6.0

View File

@ -19,7 +19,8 @@ services:
dockerfile: ./compose/django/Dockerfile-dev dockerfile: ./compose/django/Dockerfile-dev
command: /start-dev.sh command: /start-dev.sh
depends_on: depends_on:
- postgres - postgres{% if cookiecutter.use_mailhog == 'y' %}
- mailhog{% endif %}
env_file: env_file:
- dev.env - dev.env
environment: environment:
@ -28,11 +29,6 @@ services:
- .:/app - .:/app
ports: ports:
- "8000:8000" - "8000:8000"
links:
- postgres
{% if cookiecutter.use_mailhog == 'y' %}
- mailhog
{% endif %}
{% if cookiecutter.use_pycharm == 'y' %} {% if cookiecutter.use_pycharm == 'y' %}
pycharm: pycharm:
@ -45,8 +41,6 @@ services:
- dev.env - dev.env
volumes: volumes:
- .:/app - .:/app
links:
- postgres
{% endif %} {% endif %}
{% if cookiecutter.use_mailhog == 'y' %} {% if cookiecutter.use_mailhog == 'y' %}

View File

@ -7,7 +7,7 @@ wheel==0.29.0
{%- endif %} {%- endif %}
# Bleeding edge Django # Bleeding edge Django
django==1.10.6 django==1.10.7 # pyup: >=1.10,<1.11
# Configuration # Configuration
django-environ==0.4.1 django-environ==0.4.1
@ -38,14 +38,14 @@ django-allauth==0.31.0
# from http://www.lfd.uci.edu/~gohlke/pythonlibs/#psycopg # from http://www.lfd.uci.edu/~gohlke/pythonlibs/#psycopg
{% else %} {% else %}
# Python-PostgreSQL Database Adapter # Python-PostgreSQL Database Adapter
psycopg2==2.7 psycopg2==2.7.1
{%- endif %} {%- endif %}
# Unicode slugification # Unicode slugification
awesome-slugify==1.6.5 awesome-slugify==1.6.5
# Time zones support # Time zones support
pytz==2016.10 pytz==2017.2
# Redis support # Redis support
django-redis==4.7.0 django-redis==4.7.0

View File

@ -5,12 +5,12 @@ coverage==4.3.4
django-coverage-plugin==1.5.0 django-coverage-plugin==1.5.0
Sphinx==1.5.3 Sphinx==1.5.3
django-extensions==1.7.7 django-extensions==1.7.8
Werkzeug==0.11.15 Werkzeug==0.12.1
django-test-plus==1.0.17 django-test-plus==1.0.17
factory-boy==2.8.1 factory-boy==2.8.1
django-debug-toolbar==1.6 django-debug-toolbar==1.7
# improved REPL # improved REPL
ipdb==0.10.2 ipdb==0.10.2

View File

@ -6,13 +6,13 @@
# Python-PostgreSQL Database Adapter # Python-PostgreSQL Database Adapter
# If using Win for dev, this assumes Unix in prod # If using Win for dev, this assumes Unix in prod
# ------------------------------------------------ # ------------------------------------------------
psycopg2==2.7 psycopg2==2.7.1
{%- endif %} {%- endif %}
# WSGI Handler # WSGI Handler
# ------------------------------------------------ # ------------------------------------------------
gevent==1.2.1 gevent==1.2.1
gunicorn==19.6.0 gunicorn==19.7.1
# Static and Media Storage # Static and Media Storage
# ------------------------------------------------ # ------------------------------------------------

View File

@ -4,7 +4,7 @@
{% if cookiecutter.windows == 'y' -%} {% if cookiecutter.windows == 'y' -%}
# Python-PostgreSQL Database Adapter # Python-PostgreSQL Database Adapter
# If using Win for dev, this assumes Unix in test/prod # If using Win for dev, this assumes Unix in test/prod
psycopg2==2.7 psycopg2==2.7.1
{%- endif %} {%- endif %}
coverage==4.3.4 coverage==4.3.4

View File

@ -1 +1 @@
{% if cookiecutter.use_python3 == 'y' -%}python-3.5.1{% else %}python-2.7.10{%- endif %} {% if cookiecutter.use_python3 == 'y' -%}python-3.5.3{% else %}python-2.7.10{%- endif %}

View File

@ -18,7 +18,7 @@
<form method="POST" action="{% url 'account_reset_password' %}" class="password_reset"> <form method="POST" action="{% url 'account_reset_password' %}" class="password_reset">
{% csrf_token %} {% csrf_token %}
{{ form|crispy }} {{ form|crispy }}
<input type="submit" value="{% trans 'Reset My Password' %}" /> <input class="btn btn-primary" type="submit" value="{% trans 'Reset My Password' %}" />
</form> </form>
<p>{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}</p> <p>{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}</p>