Nguyễn Hồng Quân
39378e3b32
Replace awesome-slugify with python-slugify
...
The former drags us from getting update with new libraries (e.g
Unidecode).
2018-05-14 19:01:16 +07:00
Bruno Alla
105f18efd0
Update deployment on Heroku to run migrations - refs #1646
2018-05-14 08:39:46 +01:00
Nikita P. Shupeyko
c3baadd8c7
Set DEBUG=True
unconditionally in local config
2018-05-14 10:21:33 +03:00
Nikita P. Shupeyko
091a3b6d0f
gunicorn --bind
instead of gunicorn -b
2018-05-14 10:20:27 +03:00
Nikita P. Shupeyko
4bcd4c3343
Don't migrate during Heroku release phase
...
Closes #1646 .
2018-05-14 10:15:51 +03:00
saschalalala
6d4be405d8
Migrate to Django2 path urls ( #1637 )
...
* Change users urls to Django 2 paths
* Change config urls to Django 2 paths
* Change admin url setting to Django 2 path syntax
* Replace more admin urls
* Add myself to contributors.rst
2018-05-14 10:09:24 +03:00
Nikita P. Shupeyko
fd15b20a08
Use string interpolation in production STATIC_URL
2018-05-13 17:03:04 +03:00
Nikita P. Shupeyko
fe110ddd5f
Fix inadvertently changed author_name
2018-05-13 15:09:11 +03:00
Nikita P. Shupeyko
be1024cd06
Drop Grunt support
...
Closes #1636 .
2018-05-13 13:51:01 +03:00
pyup.io bot
dbdedb81c1
Update raven from 6.7.0 to 6.8.0 ( #1642 )
2018-05-12 22:57:24 +03:00
pyup.io bot
144f4ca3b7
Update django-model-utils from 3.1.1 to 3.1.2 ( #1640 )
2018-05-10 23:16:42 +02:00
Jannis Gebauer
fac121a73b
Update README.rst
2018-05-10 23:12:49 +02:00
Jannis Gebauer
b1bec7b37f
Update ISSUE_TEMPLATE.md
2018-05-10 23:11:57 +02:00
Nikita P. Shupeyko
661fc3e449
Fix E402
2018-05-09 13:42:20 +03:00
Nikita P. Shupeyko
a07327459c
Fix logging module imported unconditionally in production.py
2018-05-09 13:24:08 +03:00
Nikita P. Shupeyko
df1ce737d5
Replace os.environ.get with env call in local.py
2018-05-09 13:15:41 +03:00
Nikita P. Shupeyko
17739ff263
Refactor POSTGRES_PORT env
2018-05-09 12:58:37 +03:00
Nikita P. Shupeyko
906299ae39
Refactor POSTGRES_HOST env
2018-05-09 12:58:33 +03:00
pyup.io bot
b4b3c04253
Update django-allauth from 0.35.0 to 0.36.0 ( #1638 )
2018-05-08 15:28:52 +08:00
Nikita P. Shupeyko
00ff5c8506
Fix a typo in production.py
2018-05-07 20:33:34 +03:00
Nikita P. Shupeyko
35b2aac87a
Use relative -r path in production.txt
2018-05-07 20:30:14 +03:00
Nikita Shupeyko
5c166b28a9
Remove "My Favorite Cookie" tutorial ( #1633 )
...
Closes #1611 .
2018-05-06 19:37:57 +03:00
Nikita P. Shupeyko
74c838dc0c
Link favicon from base.html
2018-05-05 22:25:07 +03:00
pyup.io bot
0d2f8fcfd9
Update factory-boy from 2.11.0 to 2.11.1 ( #1635 )
2018-05-05 22:18:56 +03:00
Nikita P. Shupeyko
5a3dd8f0c6
Uninstall gevent
...
Closes #1555 .
2018-05-05 15:03:01 +03:00
Nikita P. Shupeyko
2eac9648a1
Install boto3 as extra of django-storages
...
Closes #1586 .
2018-05-05 15:01:03 +03:00
Nikita P. Shupeyko
1732659678
Set POSTGRES_USER and POSTGRES_PASSWORD to the debug value when opting for debug
2018-05-05 13:47:58 +03:00
Nikita P. Shupeyko
a22390ad4f
Introduce debug cookiecutter option
2018-05-05 13:47:25 +03:00
Nikita P. Shupeyko
9f14254e8e
Move pytest settings from setup.cfg to pytest.ini
2018-05-05 12:45:49 +03:00
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