Commit Graph

2462 Commits

Author SHA1 Message Date
Nikita P. Shupeyko
5e2a907c35 Remove pycodestyle and pyflakes as implicit dependencies from flakes8
Closes  #1606.
2018-05-05 12:42:10 +03:00
Nikita P. Shupeyko
d8267edd09 Run black reformatting
https://github.com/ambv/black
2018-05-05 12:37:10 +03:00
Nikita P. Shupeyko
8ef1019e01 Use implicit path to manage.py in Procfile 2018-05-05 12:30:20 +03:00
Marlon
21dd198761 Update deployment-on-heroku.rst (#1630)
`heroku python manage.py migrate` no longer necessary, since it's now run by the release process in the Procfile. Related to https://github.com/pydanny/cookiecutter-django/pull/1615
2018-05-05 12:28:46 +03:00
Marlon
ec78d9ce97 Use Heroku's Release Phase for Migrations (#1615)
Automatically run migrations on deployments to Heroku. Advantages include deployments are rolled-back if a migration fails, preventing broken applications due to failed migrations, no time between when application is released and database is migrated, and removes risk of forgetting to manually run migrations.
2018-05-05 12:28:30 +03:00
Nikita Shupeyko
b4d0416530
Fix PostgreSQL backup restore (#1628)
* Export PG* envs when backing up postgres

* Export PG* envs when restoring postgres from backup

* Prevent postgres connection from dropping all at ones

* Alter postgres backups docs  

Include another crucial prerequisite.

* "feel free switching" -> "feel free to switch"

* Address the feedback
2018-05-05 12:27:27 +03:00
pyup.io bot
8203cfe4fc Update factory-boy to 2.11.0 (#1632) 2018-05-05 09:06:41 +08:00
Nikita Shupeyko
4944907fb5
Upgrade redis service to 3.2 (#1631) 2018-05-05 01:30:57 +03:00
Nikita P. Shupeyko
b7172cfeba Conditionally gitignore virtualenv files
Fixes #1321 the right way.
2018-05-05 01:29:47 +03:00
Bruno Alla
f22f8e3716
Merge pull request #1610 from AlekseiAQ/update-runtime-python-version-3.6.4-to-3.6.5
Update runtime python version from 3.6.4 to 3.6.5
2018-05-02 22:24:52 +01:00
Bruno Alla
ea5d85f7ed
Merge pull request #1629 from pydanny/pyup-update-django-2.0.4-to-2.0.5
Update django to 2.0.5
2018-05-02 09:21:59 +01:00
pyup-bot
b8a709b191 Update django from 2.0.4 to 2.0.5 2018-05-02 01:08:03 -07:00
pyup.io bot
cf03bf74e7 Update gunicorn from 19.8.0 to 19.8.1 (#1627) 2018-04-30 22:16:09 +03:00
pyup.io bot
3e6caf6692 Update gunicorn from 19.7.1 to 19.8.0 (#1624) 2018-04-29 21:48:53 +03:00
pyup.io bot
34d9bd5d80 Update sphinx to 1.7.4 (#1620) 2018-04-26 09:06:35 +08:00
Bruno Alla
7b271fde3b
Merge pull request #1619 from pydanny/pyup-update-pytest-3.5.0-to-3.5.1
Update pytest to 3.5.1
2018-04-25 13:17:07 +01:00
pyup-bot
f8e3221622 Update pytest from 3.5.0 to 3.5.1 2018-04-25 03:24:51 -07:00
pyup-bot
1ed61dafc2 Update pytest from 3.5.0 to 3.5.1 2018-04-25 03:24:50 -07:00
Bruno Alla
71eb835906
Merge pull request #1617 from pydanny/pyup-update-sphinx-1.7.2-to-1.7.3
Update sphinx to 1.7.3
2018-04-23 12:52:10 +01:00
pyup-bot
47cc9f03fe Update sphinx from 1.7.2 to 1.7.3 2018-04-22 21:36:42 -05:00
pyup.io bot
edae0854bf Update raven from 6.6.0 to 6.7.0 (#1614) 2018-04-18 22:56:29 +08:00
pyup.io bot
bbc69b3bf1 Update django-extensions to 2.0.7 (#1613) 2018-04-18 16:30:35 +08:00
pyup.io bot
cbc51bfc5f Update django-anymail to 2.2 (#1612) 2018-04-17 10:02:06 +08:00
Aleksei Kuznetcov
6a0a2e5637 Update runtime python version from 3.6.4 to 3.6.5 2018-04-15 17:14:11 -04:00
pyup.io bot
56b3ac7311 Update pytest-django from 3.1.2 to 3.2.1 (#1608) 2018-04-14 23:27:58 +08:00
pyup.io bot
1c5f1bb62b Update django-anymail from 2.0 to 2.1 (#1607) 2018-04-12 08:32:02 +08:00
pyup.io bot
b6c80ab333 Update pytz from 2018.3 to 2018.4 (#1605) 2018-04-10 20:34:01 +00:00
Bruno Alla
8fa24e9c5e
Merge pull request #1599 from pydanny/pyup-update-djangorestframework-3.7.7-to-3.8.2
Update djangorestframework to 3.8.2
2018-04-10 15:52:51 +01:00
Osaetin Daniel
a4f059196e Removed unnecessary sentry configuration (#1598) 2018-04-10 10:39:44 +08:00
Daniel Roy Greenfeld
1355222385
Add black badge 2018-04-08 17:05:08 -05:00
Daniel Roy Greenfeld
e8c91c1fa7
Update README.rst 2018-04-08 17:04:02 -05:00
Daniel Roy Greenfeld
3f753e0411
First pass at running black across the project (#1602) 2018-04-08 17:03:29 -05:00
Bruno Alla
4bdfbb4307
Merge pull request #1600 from MaziyarMK/patch-1
Fixes heroku deployment error
2018-04-08 11:17:33 +01:00
MaziyarMK
0e7005d3d1
Fixes heroku deployment error
Specifically fixes this confusing error: ModuleNotFoundError: No module named "'config"
The single quotes are not required in the heroku config vars.
2018-04-08 10:04:31 +04:00
pyup-bot
dffacdc2ed Update djangorestframework from 3.7.7 to 3.8.2 2018-04-06 11:40:11 -05:00
Nikita P. Shupeyko
26ccf9307f Fix REDIS_URL missing
Fixes #1570.
2018-04-04 13:42:01 +03:00
Nikita P. Shupeyko
ae9dc2e782 Distinguish between local and production compose services
Rationale: 
1. building production stack on the same machine with local doesn't lead to conflicts anymore;
2. production and local service images are now clearly distinguished by name.
2018-04-04 13:38:57 +03:00
Nikita P. Shupeyko
2fa5adc2b0 Designate 'postgres' as a variable in entrypoint.sh
Rationale: clarity.
2018-04-04 11:43:39 +03:00
Nikita P. Shupeyko
897d54b690 Alter Dockerfile comment url to point at dev Django 2018-04-04 11:16:11 +03:00
Nikita P. Shupeyko
34673ff686 Merge .celery envs file with .django
Rationale: workflow simplification.
2018-04-04 10:52:16 +03:00
Nikita P. Shupeyko
418b53bf77 Rename use_sentry_for_error_reporting to use_sentry
Rationale: consistency
2018-04-03 12:12:26 +03:00
pyup.io bot
53186d2697 Update django from 2.0.3 to 2.0.4 (#1593) 2018-04-03 10:46:34 +03:00
pyup.io bot
7465c3a8a8 Update tox from 2.9.1 to 3.0.0 (#1591) 2018-04-03 09:51:17 +08:00
pyup.io bot
3c3d5914d2 Update pillow to 5.1.0 (#1592) 2018-04-03 09:50:34 +08:00
Nikita P. Shupeyko
bf089fd2b6 Fix celery services exit with status code 2
Fixes #1588.
2018-03-28 18:18:26 +03:00
Nikita Shupeyko
59cd5b4849
Celery code blocks are still generated even though Celery is not opted out for (#1587)
* Celery jinja condition in .gitignore

* Celery jinja conditions in Django Dockerfiles

* Re-phrase Django Dockerfile requirements comments

* Remove celery compose dirs through post_gen_project.py
2018-03-27 18:40:44 +03:00
Bruno Alla
80ae32259c
Merge pull request #1584 from browniebroke/doc-mailgun-500
Document server error when missing Mailgun config
2018-03-27 10:04:56 +01:00
pyup.io bot
9c09675cb8 Update django-storages from 1.6.5 to 1.6.6 (#1585) 2018-03-27 11:43:29 +08:00
Bruno Alla
53623ae1fe Document server error when missing Mailgun config
Fixes #789
2018-03-26 23:31:10 +01:00
pyup.io bot
60ebda8bf7 Update sphinx from 1.7.1 to 1.7.2 (#1579) 2018-03-25 15:45:00 +03:00