Commit Graph

895 Commits

Author SHA1 Message Date
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 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
9f14254e8e Move pytest settings from setup.cfg to pytest.ini 2018-05-05 12:45:49 +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
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
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
pyup-bot
f8e3221622 Update pytest from 3.5.0 to 3.5.1 2018-04-25 03:24:51 -07: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
3f753e0411
First pass at running black across the project (#1602) 2018-04-08 17:03:29 -05: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
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
pyup.io bot
9c09675cb8 Update django-storages from 1.6.5 to 1.6.6 (#1585) 2018-03-27 11:43:29 +08:00
pyup.io bot
60ebda8bf7 Update sphinx from 1.7.1 to 1.7.2 (#1579) 2018-03-25 15:45:00 +03:00
pyup.io bot
3264e77696 Update pytest to 3.5.0 (#1580)
* Update pytest from 3.4.2 to 3.5.0

* Update pytest from 3.4.2 to 3.5.0
2018-03-25 15:30:58 +03:00
Wan Liuyang
d1198f63b1
Drop Opbeat (#1578) 2018-03-21 19:54:27 +08:00
pyup.io bot
f0175aa9be Update collectfast to 0.6.2 (#1575) 2018-03-17 22:29:44 +08:00
Daniel Roy Greenfeld
d6e0b95d81
Adding coreapi and moving DRF to end of base.txt 2018-03-17 06:58:16 -05:00
Bruno Alla
80618f0ace Install psycopg2-binary when not using docker locally (#1569)
- The binary package should be installable on Windows locally
- The binary package is not recommended for Production, compile from
  source
2018-03-16 16:32:43 -05:00
jose Gabriel Guzman Lopez
0601a1b858
Local
add  "127.0.0.1"
2018-03-16 11:35:39 -05:00
pyup-bot
f3d0c6baf0 Update django-extensions from 2.0.5 to 2.0.6 2018-03-15 16:28:44 -05:00
Nikita Shupeyko
bcd0a8c46e
Fix & improve PostgreSQL backup/restore scripts (#1571)
* Fix & imporve postgres backup/restore scripts

* Update PostgreSQL backup/restore docs

* Fix postgres Dockerfile regression

* Extend error messages in PostgreSQL maintenance scipts
2018-03-14 13:44:16 +03:00
Daniel Roy Greenfeld
b32fd78012
Update base.py 2018-03-13 22:21:01 -05:00
Daniel Roy Greenfeld
19501ef26b
Adding DRF 2018-03-13 22:17:46 -05:00
Daniel Roy Greenfeld
c06ce847b3
Added DRF 2018-03-13 22:13:36 -05:00
Nikita P. Shupeyko
edef0167fe Gitignore MailHog in template 2018-03-11 12:21:49 +03:00
pyup.io bot
09af25547b Update django-extensions from 2.0.3 to 2.0.5 (#1568) 2018-03-11 11:33:10 +03:00
pyup.io bot
05e97777e2 Update django-crispy-forms from 1.7.1 to 1.7.2 (#1567) 2018-03-09 19:21:40 +03:00
Nikita P. Shupeyko
3e2bf3f701 Prettify template's pytest.ini 2018-03-09 13:06:45 +03:00
Nikita Shupeyko
b2a6b9a511
Prettify generated project requirements (#1557)
* Prettify base.txt

* Prettify local.txt

* Get rid of test.txt

Rationale: it effectively a duplicate of what's in local.txt

* Prettify production.txt
2018-03-09 12:57:32 +03:00
Nikita P. Shupeyko
e1bce92ad9 apk add postgresql-client with django Dockerfile 2018-03-09 11:41:02 +03:00
pyup.io bot
f3dc7898e9 Update django-anymail from 1.4 to 2.0 (#1564) 2018-03-09 10:54:56 +03:00
Nikita P. Shupeyko
a72383a851 FIx WEB_CONCURRENCY environment variable missing
Fixes #1562.
2018-03-08 22:40:22 +03:00
Nikita P. Shupeyko
03ee6c78d6 Fix CELERY_BROKER_URL overriden in entrypoint.sh
Closes #1235.
2018-03-08 19:04:10 +03:00
Nikita P. Shupeyko
5543359382 Distinguish between POSTGRES_DB and POSTGRES_USER
Closes #1301.
2018-03-08 19:04:10 +03:00
pyup.io bot
dd0a73a985 Update django-extensions from 2.0.2 to 2.0.3 (#1561) 2018-03-08 19:03:18 +03:00
Nikita Shupeyko
3f8aa26d0f
Group environment variables by the corresponding directories (#1295)
* Update generated project's .gitignore

* Post-gen gitignore .env/ and .env

* Fix linesep between gitignored entries

* Persist `.env/**/*` files into cookiecutter-django's VCS

* Rename .env/ to .envs/

* Reference the newly created .envs/**/.* files in local.yml

* Reference the newly created .envs/**/.* files in production.yml

* Delete .env.example

* Refactor post-gen-project.py

Closes #1299.

* Implement production-dotenv-files-to-dotenv-file merge script

* Create shared PyCharm Run Configuration for the automation script

* Randomize POSTGRES_PASSWORD in ./envs/(.local|.production)/.postgres

* Default POSTGRES_PASSWORD and POSTGRES_USER to random values

* Fix jinja linebreaks in local.yml

* Spaces in production.yml

* Fix post-merge leftovers & set DJANGO_ADMIN_URL automatically

* Prettify here and there

* Fix FileNotFoundError

* Leave a TODO in post_gen_hook.py

* Introduce keep_local_envs_in_vcs option

* Remove envs when not opted for

* Inline pre_gen_project.py if-condition

* Get rid of PROJECT_DIR_PATH in post_gen_project.py

* Clean up the docs

* Match copyright notices

* Document envs ins and outs
2018-03-08 15:56:15 +03:00
Malik S
6c8538abfe Add all internal IPs for multiple docker networks (#1520)
* Add all internal IPs for multiple docker networks

When developing with modified docker-compose.yml that contains multiple
network definitions, all networks gateways of the created container
should be added to INTERNAL_IPS, otherwise Django-Debug-Toolbar will not
work.

* Add @flyudvik to contributors
2018-03-08 15:54:24 +03:00
pyup.io bot
0bd019deb0 Update django-extensions from 2.0.0 to 2.0.2 (#1556) 2018-03-07 17:15:15 +03:00
Wan Liuyang
9cb7e50b8e Convert old-styled string formatting to f-string (#1528)
* Convert old-styled string formatting to f-string

* Update flake8 explicit version to 3.5.0

* Make tox.ini in sync with requirements.txt

* Fix annoying flake8 F405
2018-03-06 19:56:27 +03:00
Nikita P. Shupeyko
ee04c5cf09 noqa F401 in users apps.py 2018-03-06 19:54:20 +03:00
Eric Groom
f67f37a463 update grunt-sass to latest version (#1544)
* update grunt-sass

* add to contributors

* update gulp deps

* update grunt deps

* add convenience run script to grunt and gulp configurations
2018-03-06 19:46:21 +03:00
pyup.io bot
218a79e16a Update django from 2.0.2 to 2.0.3 (#1551) 2018-03-06 19:44:43 +03:00
Daniel Roy Greenfeld
7bc5d1408c
Make registration of signals easier for users 2018-03-06 10:52:45 -05:00
Nikita Shupeyko
d2791b019a
Prettify and re-order settings entries (#1550)
* Prettify and re-order settings entries

* Use old-style .format() for the time being

* Remove redundant linebreaks at the settings files' beginning

* Fix E303 too many blank lines

* Remove a redundant linebreak from requirements.txt

* Some linebreake juggling in config.settings.base
2018-03-06 14:28:25 +03:00
Nikita P. Shupeyko
5380117181 Uninstall wheel
Closes #1095.
2018-03-06 14:27:13 +03:00
Bruno Alla
6ef30b1741 Merge branch 'master' into simplify-environment
# Conflicts:
#	docs/deployment-on-heroku.rst
2018-03-06 09:55:28 +00:00
pyup.io bot
93ad8e6125 Update django-crispy-forms from 1.7.0 to 1.7.1 (#1546) 2018-03-06 06:13:20 +00:00
Bruno Alla
82dcd2d30c Simplify Mailgun settings
When creating a Mailgun add-on on Heroku, the app gets some environment
variables by default:

    MAILGUN_API_KEY
    MAILGUN_DOMAIN

However, the cookiecutter names do not match and requires a manual step
from the user deploying. It's used elsewhere but shouldn't harm the
other deployment methods to rename these variables.

While updating the docs I noticed a variable that appear unused
DJANGO_MAILGUN_SERVER_NAME so this removes it from the documentation.
2018-03-05 17:56:45 +00:00
Bruno Alla
baf08b2f5f Document Gunicorn worker concurrency 2018-03-05 17:30:13 +00:00
Nikita P. Shupeyko
5261956356 Refactor gunicorn -w to be set from WEB_CONCURRENCY env
Closes #1480.
2018-03-05 14:26:43 +03:00
Nikita P. Shupeyko
64f2541743 Set ALLOWED_HOSTS in config.settings.local 2018-03-04 17:51:37 +03:00
Nikita P. Shupeyko
f4e217ed21 Simplify production databases section generation 2018-03-04 17:33:54 +03:00
Nikita P. Shupeyko
6c26d39f65 Unconditionally connect to database from DATABASE_URL env when opting for Docker
Closes #1541.
2018-03-04 17:24:06 +03:00
Nikita P. Shupeyko
281dde1d1d Simplify post hook 2018-03-04 14:43:54 +03:00
adammsteele
ed2204ecba Celery config - json serialization by default (#1535)
* Use json serialization in celery by default

* Added myself to CONTRIBUTORS.rst
2018-03-01 14:25:33 +03:00
Andy Woods
1afa2b4487 Update urls.py (#1537)
Elsewise, named url 'detail' matches regex of 'update'
2018-03-01 14:21:09 +03:00
pyup.io bot
fbdc3c930f Update raven from 6.5.0 to 6.6.0 (#1539) 2018-03-01 14:20:25 +03:00
pyup.io bot
3084d9d5c1 Update django-redis from 4.8.0 to 4.9.0 (#1540) 2018-03-01 14:20:08 +03:00
pyup.io bot
a429a050c9 Update boto3 to 1.6.2 (#1538)
* Update boto3 from 1.6.1 to 1.6.2

* Update production.txt
2018-03-01 11:59:59 +01:00
pyup.io bot
496869164f Update boto3 from 1.5.36 to 1.6.1 (#1536) 2018-02-28 12:42:47 +01:00
Daniel Roy Greenfeld
ff92210573
Remove python_2_unicode_compatible
Python 3.6 or go home!
2018-02-27 17:03:02 -05:00
Bruno Alla
56bd2ca9a1
Merge pull request #1533 from browniebroke/bug-500-compressor
Link to unminified CSS if using django-compressor
2018-02-27 18:50:22 +00:00
pyup.io bot
48a6bf56a6 Update boto3 from 1.5.33 to 1.5.36 (#1531) 2018-02-26 16:35:01 +03:00
pyup.io bot
18509cb85b Update sphinx from 1.7.0 to 1.7.1 (#1532) 2018-02-26 16:34:51 +03:00
Bruno Alla
01e598df79 Link to unminified CSS if using django-compressor 2018-02-24 10:14:41 +00:00
Bruno Alla
575fe7e2f0 Merge branch 'master' into psycopg2-no-binary 2018-02-22 17:50:20 +00:00
pyup.io bot
b3a4d0ca14 Update django-extensions from 1.9.9 to 2.0.0 (#1526) 2018-02-22 18:03:06 +03:00
Bruno Alla
0164c330b3 Move to the python:alpine docker image (#1482)
* Move to the python:alpine docker image

- Switch the base images for local and production to alpine
- Install extra dependencies for psycopg2, Pillow and cffi
- Change shebang for shell scripts to use sh instead of bash

* Move to the python:alpine docker image

- Migrate group and user creation to Alpine syntax

* Move to the python:alpine docker image

- Remove `function` keyword, unsupported in shell

* Upgrade various places to the latest Python 3.6

* Test support for translations

* Add gettext library, required for translations support

* Add locale folder for translations support with README documenting it

* Update Changelog

* Tweak command to test translations support
2018-02-22 10:01:05 -05:00
pyup-bot
76334c086e Update boto3 from 1.5.31 to 1.5.33 2018-02-20 18:26:40 -05:00
Wan Liuyang
30dfbbd0ab Remove AWS S3 header bytes workaround 2018-02-20 16:04:16 +08:00
pyup.io bot
1452fe6ecd Update boto3 from 1.5.30 to 1.5.31 (#1517) 2018-02-18 19:20:27 +03:00
pyup.io bot
97f0ca6fa7 Update django from 2.0 to 2.0.2 (#1514) 2018-02-16 22:42:20 +01:00
Bruno Alla
642af90a37
Merge pull request #1421 from epicwhale/update-django-1.11.8-to-2.0
Upgrade Django to 2.0
2018-02-16 21:37:06 +00:00
Bruno Alla
3853094221
Merge pull request #1374 from svleeuwen/patch-1
Remove boto related settings that aren't used
2018-02-16 21:19:35 +00:00
pyup.io bot
68ae00e028 Update ipdb from 0.10.3 to 0.11 (#1511) 2018-02-16 18:16:23 +03:00
pyup.io bot
07d7482dbe Update boto3 from 1.5.27 to 1.5.30 (#1512) 2018-02-16 18:16:09 +03:00
Hashim Muqtadir
e8ca2dd8ea Add atomic requests setting to production.py (#1513)
Since config/production.py sets a new value for `DATABASES['default']`, the `DATABASES['default']['ATOMIC_REQUESTS'] = True` setting from base gets overridden. So it's probably a good idea to add it back.
2018-02-16 18:15:50 +03:00
Sander van Leeuwen
bef1bb856e
Add cache control via AWS_S3_OBJECT_PARAMETERS setting
Previously covered by AWS_HEADERS
2018-02-13 16:04:43 +01:00
Bruno Alla
d783367a86 Prevent pyup to Update Celery automatically 2018-02-13 14:37:40 +00:00
Bruno Alla
faabec8028
Merge pull request #1508 from pydanny/pyup-update-boto3-1.5.25-to-1.5.27
Update boto3 to 1.5.27
2018-02-13 14:35:08 +00:00
Bruno Alla
db42ec24ae
Merge pull request #1501 from pydanny/pyup-update-pytz-2017.3-to-2018.3
Update pytz to 2018.3
2018-02-13 14:34:49 +00:00
Bruno Alla
95f22eab4f
Merge pull request #1507 from pydanny/pyup-update-sphinx-1.6.7-to-1.7.0
Update sphinx to 1.7.0
2018-02-13 14:34:19 +00:00
pyup-bot
26e35a5c79 Update boto3 from 1.5.25 to 1.5.27 2018-02-12 21:26:27 -05:00
pyup-bot
c0bcf3d22e Update sphinx from 1.6.7 to 1.7.0 2018-02-12 11:00:24 -05:00
pyup-bot
7d291e8863 Update coverage from 4.5 to 4.5.1 2018-02-11 02:06:18 -05:00
pyup-bot
e7a47c6f9b Update coverage from 4.5 to 4.5.1 2018-02-11 02:06:17 -05:00
Bruno Alla
5e93bf954d Install psycopg2 with --no-binary option 2018-02-09 13:00:20 +00:00
pyup-bot
8941e4a81d Update pytz from 2017.3 to 2018.3 2018-02-09 02:46:23 -08:00
pyup-bot
dd756e432d Update boto3 from 1.5.24 to 1.5.25 2018-02-08 15:26:11 -08:00
pyup.io bot
7271934268 Update psycopg2 to 2.7.4 (#1497)
* Update psycopg2 from 2.7.3.2 to 2.7.4

* Update psycopg2 from 2.7.3.2 to 2.7.4

* Update psycopg2 from 2.7.3.2 to 2.7.4
2018-02-08 23:46:03 +03:00
pyup.io bot
4a81b8577d Update django-anymail from 1.3 to 1.4 (#1498) 2018-02-08 23:45:45 +03:00
David
fb83d8d8bd Add Debian 9 (Stretch) os dependencies (#1496) 2018-02-07 22:54:55 +03:00
Nikita Shupeyko
86e33e8714
Refactor *_gen_project hooks (#1490)
* Fix ./hooks/pre_gen_project.py asking user to select an option once only

+ prettify output

* Fix pre_gen hook not really exiting when it should

* Refactor & prettify ./hooks/post_gen_project.py

* Ensure same POSTGRES_USER is set across environments

+ get rid of env.example in favor of pre-generated .env.
2018-02-07 22:52:52 +03:00
Bruno Alla
93f11f6691
Merge branch 'master' into update-django-1.11.8-to-2.0 2018-02-07 14:59:20 +00:00
Bruno Alla
090c81731b
Merge pull request #1418 from reggieriser/django_python_upgrade_cleanups
Fixing leftovers from migration to Django 1.11 and Python 3.6.
2018-02-07 14:52:27 +00:00
Reggie Riser
5ffeb2bbdd
Update heroku runtime to 3.6.4 2018-02-07 08:45:56 -05:00
pyup.io bot
1148802655 Update boto3 from 1.5.23 to 1.5.24 (#1492) 2018-02-07 02:52:44 +03:00
pyup.io bot
e9511a1735 Update pytest-sugar from 0.9.0 to 0.9.1 (#1489) 2018-02-06 20:17:39 +03:00
Wan Liuyang
219b6ba817 Update pytest-sugar to 0.9.1 (#1486) 2018-02-06 20:16:24 +03:00
pyup-bot
fe39d9d4e4 Update boto3 from 1.5.22 to 1.5.23 2018-02-05 18:26:06 -08:00
Dayson Pais
d133026968
Update 0001_initial.py
Increase max length of User.last_name to 150 characters.
2018-02-05 23:29:36 +00:00
Bruno Alla
19547ac937 Bootstrap4 workarounds cleanup (#1470)
* Cleanup workaround CSS for Bootstrap 4 + DDT fix

* Cleanup custom Bootstrap 4 + crispy forms workaround
2018-02-05 07:10:49 -08:00
Dayson Pais
8edcb1cbfe
Merge branch 'master' into update-django-1.11.8-to-2.0 2018-02-05 10:24:58 +00:00
Dayson Pais
d4420e3dd6
Update base.txt 2018-02-05 10:23:10 +00:00
pyup-bot
179adb4f30 Update sphinx from 1.6.6 to 1.6.7 2018-02-04 16:35:06 -08:00
pyup-bot
a0abb0cc22 Update coverage from 4.4.2 to 4.5 2018-02-04 00:26:06 -08:00
pyup-bot
4f4c51d2bf Update coverage from 4.4.2 to 4.5 2018-02-04 00:26:04 -08:00
David
b24d0d0bd8 Fixes wsgi.py app_path to avoid deleting all /config occurrences. (#1467) 2018-02-03 00:01:28 +03:00
pyup.io bot
4b7a70d875 Update django-anymail from 1.2 to 1.3 (#1478) 2018-02-02 23:54:07 +03:00
pyup.io bot
b19b1e0f3c Update django-allauth from 0.34.0 to 0.35.0 (#1477) 2018-02-02 23:43:02 +03:00
pyup.io bot
cfbf49f36b Update opbeat from 3.6.0 to 3.6.1 (#1473) 2018-02-02 16:30:20 +03:00
pyup.io bot
fe7c4aa815 Update django from 1.11.9 to 1.11.10 (#1474) 2018-02-02 00:39:04 +03:00
pyup.io bot
8a4f3e036b Update boto3 from 1.5.20 to 1.5.22 (#1468) 2018-01-29 19:07:10 +03:00
pyup.io bot
8e68df4ac4 Update factory-boy to 2.10.0 (#1469)
* Update factory-boy from 2.9.2 to 2.10.0

* Update factory-boy from 2.9.2 to 2.10.0
2018-01-29 19:06:59 +03:00
Dayson Pais
9ca98e02d4
Update base.txt 2018-01-25 10:36:06 +01:00
pyup.io bot
2d041b6c4d Update raven from 6.4.0 to 6.5.0 (#1460) 2018-01-23 18:48:00 +03:00
pyup.io bot
ec6dd4fd02 Update boto3 from 1.5.14 to 1.5.20 (#1464) 2018-01-23 18:47:48 +03:00
Bruno Alla
af12f39996 Improve custom_bootstrap_compilation option (#1429)
* Add Bootstrap to package.json in case of custom_bootstrap_compilation

* Update JS task runners and base HTML to handle custom scss compilation

* Generate a vendors.js with custom bootstrap compilation + Gulp

* Update documentation accordingly

* Add missing if/endif in gulpfile

* Update to Bootstrap v4 final
2018-01-20 17:05:12 -08:00
Daniel Roy Greenfeld
793a46ba45 Removed expiramental elastic beanstalk support and bumped official Django version to 1.11.9 2018-01-15 12:33:51 -08:00
pyup.io bot
789bd97eff Update django-extensions from 1.9.8 to 1.9.9 (#1443) 2018-01-14 18:56:58 +03:00
pyup.io bot
b2025a8f72 Update boto3 from 1.5.12 to 1.5.14 (#1447) 2018-01-14 01:12:13 +03:00
pyup.io bot
a40121afd6 Update django-model-utils from 3.0.0 to 3.1.1 (#1442) 2018-01-10 18:36:17 +03:00
pyup.io bot
f3574df379 Update django-test-plus to 1.0.22 (#1441)
* Update django-test-plus from 1.0.21 to 1.0.22

* Update django-test-plus from 1.0.21 to 1.0.22
2018-01-10 18:31:00 +03:00
pyup.io bot
f5c0c2c759 Update boto3 from 1.5.11 to 1.5.12 (#1440) 2018-01-10 18:30:47 +03:00
pyup.io bot
0e9a8e0420 Update boto3 from 1.5.9 to 1.5.11 (#1439) 2018-01-09 22:16:09 +03:00
pyup.io bot
8bc20c14f0 Update sphinx from 1.6.5 to 1.6.6 (#1436) 2018-01-08 18:38:11 +03:00
pyup.io bot
c476ae6e83 Update boto3 from 1.5.8 to 1.5.9 (#1434) 2018-01-08 18:32:58 +03:00
pyup.io bot
a6baa1741c Update argon2-cffi from 16.3.0 to 18.1.0 (#1435) 2018-01-08 18:32:45 +03:00
pyup.io bot
f141ea655c Update pillow from 4.3.0 to 5.0.0 (#1424) 2018-01-05 19:29:16 +03:00
pyup.io bot
47bf26bd0e Update boto3 from 1.5.6 to 1.5.8 (#1427) 2018-01-05 19:25:01 +03:00
pyup.io bot
14868fad8b Update werkzeug from 0.13 to 0.14.1 (#1423) 2018-01-05 19:10:05 +03:00
Bruno Alla
0bf587c139 Fix duplicated and missing links in README (#1430) 2018-01-04 17:55:20 -08:00
Reggie Riser
f7bd7a5814 Fixing leftovers from migration to Django 1.11 and Python 3.6. 2018-01-03 08:44:54 -05:00
pyup-bot
5510c76147 Update django from 1.11.8 to 1.11.9 2018-01-01 21:57:56 -08:00
Dayson Pais
8bfe18b52a Update django from 1.11.8 to 2.0
- Refactor django.core.urlresolvers module import to django.urls. Resolves: The django.core.urlresolvers module is removed in favor of its new location, django.urls.

- Add an app namespace to urls in user app. Resolves: Support for setting a URL instance namespace without an application namespace is removed.
2017-12-30 12:16:19 +05:30
Reggie Riser
8725809f5e Fixed old Docker service name in PyCharm run configurations. (#1419) 2017-12-29 00:26:48 +03:00
Dan Shultz
35ab85b2a2 Add OS packages for Elastic Beanstalk deployments (#1277)
Fixes #1270
2017-12-28 08:28:08 -08:00
Audrey Roy Greenfeld
5395687f73 Upgraded to Django 1.11 to resolve 2017-12-28 08:19:19 -08:00
pyup.io bot
7797585a12 Update boto3 from 1.5.4 to 1.5.6 (#1414) 2017-12-28 15:36:12 +03:00
pyup.io bot
a48ef41e70 Update boto3 from 1.5.3 to 1.5.4 (#1412) 2017-12-21 04:13:21 +03:00
pyup.io bot
dfcf646ded Update boto3 from 1.5.2 to 1.5.3 (#1411) 2017-12-20 18:24:34 +03:00
pyup.io bot
cb7befdf52 Update boto3 from 1.5.1 to 1.5.2 (#1408) 2017-12-19 15:58:48 +03:00
pyup.io bot
d372ec05f9 Update django-test-plus to 1.0.21 (#1407)
* Update django-test-plus from 1.0.20 to 1.0.21

* Update django-test-plus from 1.0.20 to 1.0.21
2017-12-17 15:52:31 +03:00
pyup.io bot
5ba730bfa3 Update boto3 from 1.5.0 to 1.5.1 (#1406) 2017-12-17 15:44:51 +03:00
pyup.io bot
2fcaf55724 Update opbeat from 3.5.3 to 3.6.0 (#1404) 2017-12-15 16:12:20 +03:00
pyup.io bot
5e39a94621 Update boto3 from 1.4.8 to 1.5.0 (#1405) 2017-12-15 16:12:09 +03:00
Pierre Chiquet
d2dd265a99 Fix MediaRootS3BotoStorage: do not override existing files (#1367)
* Fix MediaRootS3BotoStorage: do not override existing files

see https://github.com/jschneier/django-storages/issues/50

* Update "other contributors"

* alphabetical order
2017-12-13 16:06:48 +03:00
pyup.io bot
0d1ced03ec Update collectfast from 0.5.2 to 0.6.0 (#1401) 2017-12-13 16:06:09 +03:00
pyup.io bot
c410a49ed1 Update werkzeug from 0.12.2 to 0.13 (#1403) 2017-12-13 16:05:54 +03:00
pyup.io bot
a4319f76bd Update boto3 from 1.4.7 to 1.4.8 (#1393) 2017-12-13 15:37:40 +03:00
Ivan Savov
8b1fd8ec44 added norecursedirs to pytest.ini (#1376)
This is to ensure running `pytest` in project root works when using Python 3.6 (otherwise tries to run python tests in `node-gyp` node module and fails with:

```
―――――――――――――――――――――――――――――――――――――――――――― ERROR collecting node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py ――――――――――――――――――――――――――――――――――――――――――――
../venv/lib/python3.6/site-packages/_pytest/python.py:395: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
../venv/lib/python3.6/site-packages/py/_path/local.py:662: in pyimport
    __import__(modname)
E     File "/Users/ivan/Projects/Minireference/ClassroomLinksProject/classroomlinks/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 37
E       print '%s:%s:%d:%s %s' % (mode.upper(), os.path.basename(ctx[0]),
E                            ^
E   SyntaxError: invalid syntax
```
2017-12-13 15:28:14 +03:00
pyup.io bot
480bc8ef25 Update django-extensions from 1.9.7 to 1.9.8 (#1398) 2017-12-13 15:25:55 +03:00
pyup.io bot
356a31806f Update raven from 6.3.0 to 6.4.0 (#1402) 2017-12-13 15:25:05 +03:00
pyup.io bot
baedec6e00 Update django-debug-toolbar from 1.9 to 1.9.1 (#1391) 2017-11-20 13:10:39 +03:00
pyup.io bot
d7ab9a9d33 Update django-debug-toolbar from 1.8 to 1.9 (#1387) 2017-11-13 23:16:42 +03:00
Bruno Alla
4f8cd89bb7 Set CONN_MAX_AGE to 60 seconds -- fixes #710 (#1382)
* Set CONN_MAX_AGE to 60 seconds -- fixes #710

Setting the value in the production config.

* Get CONN_MAX_AGE from the environment, default to 60 in .env

* Add test for CONN_MAX_AGE setting

* Remove duplication in default value & test cleanup

* Remove test for CONN_MAX_AGE value in settings
2017-11-13 23:08:47 +03:00
pyup.io bot
b00b402774 Update coverage to 4.4.2 (#1384)
* Update coverage from 4.4.1 to 4.4.2

* Update coverage from 4.4.1 to 4.4.2
2017-11-12 22:54:42 +03:00
pyup.io bot
006b8d200d Update django-anymail from 1.1 to 1.2 (#1383) 2017-11-03 01:30:40 +03:00
pyup.io bot
b2fbb36b9d Update django-extensions from 1.9.6 to 1.9.7 (#1381) 2017-10-31 20:04:21 +03:00
pyup-bot
0780d15ede Update django-test-plus from 1.0.19 to 1.0.20 2017-10-31 06:53:44 -07:00
pyup-bot
d40c5574a4 Update django-test-plus from 1.0.19 to 1.0.20 2017-10-31 06:53:43 -07:00
pyup.io bot
b718911012 Update raven from 6.2.1 to 6.3.0 (#1378) 2017-10-31 12:26:40 +03:00
pyup-bot
6716bb590d Update pytz from 2017.2 to 2017.3 2017-10-30 10:54:45 -07:00
pyup.io bot
6f16fa4e74 Update django-allauth from 0.33.0 to 0.34.0 (#1377) 2017-10-30 00:21:09 +03:00
pyup.io bot
f26a9fb9fe Update django-anymail from 1.0 to 1.1 (#1375) 2017-10-28 22:53:11 +03:00
Sander van Leeuwen
9661ecaf8f Remove boto related settings that aren't used
Since upgrade to boto3 in commit 12db5176d6 we don't need AWS_HEADERS anymore
2017-10-25 14:11:36 +02:00
Fábio C. Barrionuevo da Luz
c8e9ad46e6 Merge pull request #1372 from pydanny/pyup-update-psycopg2-2.7.3.1-to-2.7.3.2
Update psycopg2 to 2.7.3.2
2017-10-24 18:13:55 -03:00
pyup-bot
e01827c2cb Update django-test-plus from 1.0.18 to 1.0.19 2017-10-24 13:13:25 -07:00
pyup-bot
931e01876c Update django-test-plus from 1.0.18 to 1.0.19 2017-10-24 13:13:22 -07:00
pyup-bot
dc4833af94 Update psycopg2 from 2.7.3.1 to 2.7.3.2 2017-10-24 13:13:12 -07:00
pyup-bot
f71a561119 Update psycopg2 from 2.7.3.1 to 2.7.3.2 2017-10-24 13:13:10 -07:00
pyup-bot
531f19553b Update psycopg2 from 2.7.3.1 to 2.7.3.2 2017-10-24 13:13:08 -07:00
pyup.io bot
26300237c9 Update flake8 to 3.5.0 (#1370)
* Update flake8 from 3.4.1 to 3.5.0

* Update flake8 from 3.4.1 to 3.5.0
2017-10-24 21:13:10 +03:00
pyup.io bot
fc339eac2e Update sphinx from 1.6.4 to 1.6.5 (#1369) 2017-10-24 21:12:37 +03:00
pyup.io bot
e363d7c84a Update django-crispy-forms from 1.6.1 to 1.7.0 (#1366) 2017-10-17 19:21:22 +03:00
pyup.io bot
768f528bb9 Update django-extensions from 1.9.1 to 1.9.6 (#1364) 2017-10-16 19:17:23 +03:00
pyup.io bot
d5d7b33fde Update opbeat from 3.5.2 to 3.5.3 (#1359) 2017-10-16 18:42:13 +03:00
pyup.io bot
ba6756f107 Update pillow from 4.2.1 to 4.3.0 (#1352) 2017-10-16 18:36:56 +03:00
Chris Franklin
d0e5c4b3b6 Fix comments and silence PEP8 lambda warnings in config module. (#1357) 2017-10-12 20:36:44 +03:00
Delio Castillo
a6ec7056ba replaces dev.yml with local.yml in all PyCharm configuration files (#1348) 2017-09-30 15:47:17 +03:00
Charlie Smith
cda6878486 More inline docs for DATABASES variable (#1350)
* More inline docs for DATABASES variable

Use of database url is not part of Django, but comes from django-environ. Was initially confusing where feature came from, as link points to offical django docs.

* Contributors update
2017-09-30 15:18:55 +03:00
Fábio C. Barrionuevo da Luz
daa7613f37 Merge pull request #1345 from pydanny/pyup-update-sphinx-1.6.3-to-1.6.4
Update sphinx to 1.6.4
2017-09-26 08:24:31 -03:00
pyup-bot
f10d03e8a8 Update sphinx from 1.6.3 to 1.6.4 2017-09-26 01:08:44 -07:00
pyup-bot
ee0d52fd97 Update whitenoise from 3.3.0 to 3.3.1 2017-09-23 11:47:41 -07:00
pyup.io bot
4f727fac7c Update raven from 6.2.0 to 6.2.1 (#1341) 2017-09-22 21:47:16 +03:00
pyup.io bot
93c965d020 Update raven from 6.1.0 to 6.2.0 (#1340) 2017-09-22 18:02:08 +03:00
Wan Liuyang
ea5fb0efb6 Update EMAIL_BACKEND to "anymail.backends.espname.EmailBackend" to match anymail 1.0 (#1335) 2017-09-18 16:19:09 +03:00
Reggie Riser
874caee360 Removed references and old CSS specific to Bootstrap alpha. (#1333)
* Removed references and old CSS specific to Bootstrap alpha.

* Fixed Bootstrap alpha reference in README.
2017-09-18 10:44:16 +03:00
pyup.io bot
6537f181a5 Update django-anymail from 0.11.1 to 1.0 (#1334) 2017-09-18 10:42:08 +03:00
pyup.io bot
53699728ec Update django-extensions from 1.9.0 to 1.9.1 (#1330) 2017-09-14 11:18:59 +02:00
pyup.io bot
3b2eca0a38 Update wheel from 0.29.0 to 0.30.0 (#1329) 2017-09-11 09:55:29 +03:00
Nikita P. Shupeyko
d9e280ff5b Require django-coverage-plugin==1.5.0 for testing
Closes #1325.
2017-09-07 13:28:13 +03:00
Nikita P. Shupeyko
e5154f3f01 Prettify production postgres service Dockerfile entries
- group related commands together
- use COPY instead of ADD
2017-09-06 15:05:41 +03:00
Mark Liederbach
7cb8da9df6 Added Whitelist for /compose/local/ (#1322)
Something in the file above ignores the /compose/local directory, which is not an expected pattern. Barring a reasonable explanation or modification of the above rules, this whitelists that folder.
2017-09-06 09:33:35 +03:00
pyup.io bot
a42df4f1b2 Update django from 1.10.7 to 1.10.8 (#1320) 2017-09-05 22:52:58 +03:00
Arcuri Davide
433eef62e4 Update bootstrap to 4.0.0-beta (#1319)
* Update bootstrap to 4.0.0-beta

Update cdn link for js and css.
Fixed class names for navbar -https://medium.com/@lukaszholeczek/how-to-upgrade-bootstrap-4-alpha-6-to-bootstrap-4-beta-d43b4210f2a3

* Updated CONTRIBUTORS.rst

Updated CONTRIBUTORS.rst
2017-09-05 15:21:25 +03:00
Shupeyko Nikita
188ff966f8 Re-organize compose/ into environment-specific file groups (#1317)
* Re-organize compose/ into environment-specific file groups

Closes #1316.

* Commit missing files

That was weird: git failed to commit one specific folder previously
2017-09-05 14:39:20 +03:00
Shupeyko Nikita
ae9f951f45 Use Unix, not Windows environment variable format in Caddyfile (#1314)
Closes #1310.
2017-09-02 20:42:07 +03:00
Shupeyko Nikita
833a79ff3c Remove pycharm service from Docker setup (#1307)
* Remove pycharm service from Docker setup

* Update generated project docs
2017-08-31 19:25:58 +03:00
Reggie Riser
cc3ba8eadf Remove django-braces requirement (equivalent functionality already in Django 1.9+). (#1312) 2017-08-31 19:23:18 +03:00
pyup-bot
b70db90506 Update boto3 from 1.4.6 to 1.4.7 2017-08-29 14:18:03 -07:00
Reggie Riser
5f4e195007 Loading "static" tags instead of "staticfiles" for Django 1.10+ per https://docs.djangoproject.com/en/dev/releases/1.10/#django-contrib-staticfiles . (#1308) 2017-08-29 15:55:15 +03:00
Shupeyko Nikita
8c5c521b29 Revert "Configure pytest to exit after first num failures or errors (#1292)"
This reverts commit dec3305cd5.
2017-08-29 15:45:17 +03:00
Reggie Riser
0e1c00d3b3 Fixed typo in generated comment. (#1306) 2017-08-28 22:30:56 +03:00
Wan Liuyang
c50c6a73be Rename Dockerfile-dev to Dockerfile-local (#1305)
* Rename Dockerfile-dev to Dockerfile-local

* Add @sfdye to CONTRIBUTORS.rst
2017-08-28 11:00:59 +03:00
pyup.io bot
2f12425ea3 Update psycopg2 to 2.7.3.1 (#1303)
* Update psycopg2 from 2.7.3 to 2.7.3.1

* Update psycopg2 from 2.7.3 to 2.7.3.1

* Update psycopg2 from 2.7.3 to 2.7.3.1
2017-08-26 20:26:07 +03:00
Shupeyko Nikita
259534cd2b Update .gitignore's (#1294)
* Update Cookiecutter Django .gitignore

* Update generated project .gitignore
2017-08-24 16:59:08 +03:00
pyup-bot
a226184bf1 Update boto3 from 1.4.5 to 1.4.6 2017-08-23 10:17:14 -07:00
Fábio C. Barrionuevo da Luz
09ecda33b3 Merge pull request #1269 from browniebroke/patch-1
Update django-storages and Boto3 fixes #998 & #1192
2017-08-23 14:17:02 -03:00
Nikita P. Shupeyko
22709576a8 Add missing = to DJANGO_OPBEAT_* variable definitions 2017-08-23 13:12:50 +03:00
Shupeyko Nikita
dec3305cd5 Configure pytest to exit after first num failures or errors (#1292) 2017-08-23 13:58:10 +04:00
pyup.io bot
b40d63fffc Update django-extensions from 1.8.1 to 1.9.0 (#1291) 2017-08-23 13:48:26 +04:00
pyup.io bot
26f5659e56 Update django-environ from 0.4.3 to 0.4.4 (#1289) 2017-08-21 14:59:34 +03:00