Bruno Alla
99a15f1def
Merge branch 'master' into hiredis
2020-04-30 22:04:41 +01:00
Hannah Lazarus
3152bdaeb3
Add sphinx defaults for cookiecutter'd project
...
-serve, watch + live reload for docs + code file changes
-update project makefile + make.bat
-separate _source and _build
-add packages and paths to use autodoc
-edit/add documentation with examples (both at django-cookiecutter and inside generated project)
-add formatted comments in User model for pickup by Sphinx apidoc
-serve docs from a separate docs container for docker build
2020-04-30 13:23:24 -04:00
Bruno Alla
ff0e1a21e1
Merge pull request #2579 from pydanny/pyup-update-redis-3.4.1-to-3.5.0
2020-04-30 15:49:51 +01:00
Fabio C. Barrionuevo da Luz
1247f06395
Make sure to resolve symbolic links, uses an absolute path in ROOT_DIR
...
and raise an error if the path does not exist by using the "resolve" method.
Use "parent.parent.parent" instead of "parents[2]"
2020-04-30 11:33:46 -03:00
browniebroke
f2a7c719e2
Update redis from 3.4.1 to 3.5.0
2020-04-30 12:00:30 +01:00
Andrew-Chen-Wang
4d54dcaa32
Put hiredis in production only if using Win
2020-04-29 16:42:24 -04:00
Andrew-Chen-Wang
dfd1ee8bb2
Use hiredis
2020-04-29 16:31:19 -04:00
Andrew-Chen-Wang
d16d0aa5c4
Add watchgod for uvicorn
2020-04-29 15:56:09 -04:00
browniebroke
47e82bd084
Update uvicorn from 0.11.3 to 0.11.5
2020-04-29 12:00:30 +01:00
Bruno Alla
3694f3dcaa
Merge branch 'extended-drf-tests'
2020-04-29 09:44:58 +01:00
Bruno Alla
01b8412805
Fix expected value
2020-04-29 09:23:27 +01:00
Pilhwan Kim
29fea6efa3
remove import UserSerializer in tesf_drf_views.py
2020-04-29 08:54:32 +09:00
Leon Kim
5a9648fa90
Update {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/tests/test_drf_views.py
...
OK. I agree with your idea. Even to me, this code is more explicit to check result.
Co-Authored-By: Bruno Alla <browniebroke@users.noreply.github.com>
2020-04-29 08:41:33 +09:00
Bruno Alla
672be773a3
Fix formatting
2020-04-28 23:18:52 +01:00
Andrew Chen Wang
c54c4f5ef7
Fix reloading when using async
2020-04-28 16:26:34 -04:00
Bruno Alla
2f805ba1b7
Merge pull request #2487 from pydanny/pyup-update-pytest-5.3.5-to-5.4.1
2020-04-28 12:57:46 +01:00
Bruno Alla
d86bd3280a
Merge pull request #2545 from hanhanhan/name_containers
2020-04-28 12:47:45 +01:00
browniebroke
4eb718c683
Update pytest from 5.3.5 to 5.4.1
2020-04-28 12:41:36 +01:00
Bruno Alla
6aaee8dabe
Merge pull request #2563 from pydanny/pyup-update-sphinx-3.0.2-to-3.0.3
2020-04-28 12:40:45 +01:00
Bruno Alla
eb3cf4e6dd
Merge pull request #2568 from pydanny/pyup-update-pytz-2019.3-to-2020.1
2020-04-28 12:40:25 +01:00
browniebroke
0c2af32b8d
Update pytz from 2019.3 to 2020.1
2020-04-28 12:00:34 +01:00
Pilhwan Kim
f13f3dc2bf
add use drf tests
2020-04-28 12:41:51 +09:00
browniebroke
3d8c4627f4
Update pytest-sugar from 0.9.2 to 0.9.3
2020-04-27 12:00:36 +01:00
browniebroke
04d8b06035
Update sphinx from 3.0.2 to 3.0.3
2020-04-27 12:00:31 +01:00
browniebroke
b8a1805a9f
Update pillow from 7.1.1 to 7.1.2
2020-04-26 12:00:30 +01:00
Tano Abeleyra
95ca7ca291
Update django-redis links
2020-04-24 21:29:59 -03:00
Hannah Lazarus
f9c20af456
Add container_names for docker commands
...
container_names make it possible to run docker commands
without looking up container hash
use in dev.yml
2020-04-24 16:31:20 -04:00
Sudarshan Wadkar
4021286be0
Add condition to include .co.XX TLDs
...
This is best effort checking of domain names and creating the traefik
rules. These two checks should cover most of the use cases.
2020-04-24 19:43:38 +05:30
Sudarshan Wadkar
9cf47898f4
Only consider TLDs while adding www
route
...
Instead of checking for `.co.XX` on best effort basis, we only check for
the single dot in the domain_name indicating no subdomain usage.
2020-04-24 19:43:38 +05:30
Sudarshan Wadkar
cafc0ac1f3
Conditionally add www host to traefik router
...
If the domain_name entered contains subdomains, e.g. `api.example.com`
then do *not* add an additional `www.api.example.com` route to traefik
If the user enters only the domain `example.com` then add the optional
`www.example.com` Host to the traefik routers.
2020-04-24 19:43:37 +05:30
browniebroke
433aa667f5
Update pre-commit from 2.2.0 to 2.3.0
2020-04-23 12:00:33 +01:00
browniebroke
8eeef9a86c
Update sphinx from 3.0.1 to 3.0.2
2020-04-20 12:00:32 +01:00
Bruno Alla
ca27ddd14d
Merge pull request #2524 from sorasful/master
2020-04-17 12:58:02 +01:00
Bruno Alla
4f6427899b
Merge pull request #2544 from pydanny/pyup-update-flake8-isort-2.9.1-to-3.0.0
2020-04-17 11:35:25 +01:00
Bruno Alla
f01ff95c51
Merge pull request #2539 from Andrew-Chen-Wang/ci
2020-04-17 11:34:50 +01:00
Andrew-Chen-Wang
d249158444
Fix .travis.yml indent alignment
2020-04-16 14:15:35 -04:00
Andrew-Chen-Wang
d2285d9e2d
pytest.parametrized test for generating CI
...
* Removed celerybeat start's postgres_ready() for new PR for closer inspection and further review. Travis and GitLab CI reflect changes
2020-04-16 13:34:12 -04:00
browniebroke
3d9f7b91d0
Update flake8-isort from 2.9.1 to 3.0.0
2020-04-16 12:00:30 +01:00
Bruno Alla
c4e4bea31b
Merge branch 'master' into async
2020-04-16 09:43:38 +01:00
Bruno Alla
835cd8c9b5
Remove unused parameter in Gulp task
2020-04-16 09:43:28 +01:00
Bruno Alla
c639541d50
Default DJANGO_SETTINGS_MODULE to local settings in asgi.py
...
This is to be consistent with `manage.py` behaviour and required to run locally.
2020-04-16 09:11:15 +01:00
Andrew-Chen-Wang
25cd8ea72b
Update beat start files with better? SQL statement
2020-04-14 15:05:53 -04:00
Andrew-Chen-Wang
dd0e7c0c80
Remove unnecssary import in celerybeat start files
2020-04-14 12:04:41 -04:00
Andrew Chen Wang
9e007699c9
Merge branch 'master' into ci
2020-04-14 11:55:01 -04:00
Andrew-Chen-Wang
3c63b3e46e
Add Docker support to Travis and GitLab CI
...
* Celerybeat start files wait for table migration so that errors don't occur if a migration does not happen post-build
2020-04-14 11:52:14 -04:00
Andrew Chen Wang
e2b5dba3f7
Remove Apache LICENSE Appendix
2020-04-14 11:50:44 -04:00
Andrew Chen Wang
264466904e
Add Apache Software License 2.0 to LICENSE
2020-04-14 11:36:11 -04:00
Bruno Alla
53b6692b33
Merge pull request #2537 from pydanny/pyup-update-pylint-django-2.0.14-to-2.0.15
...
Update pylint-django to 2.0.15
2020-04-14 13:38:47 +01:00
browniebroke
0c32fac51e
Update pylint-django from 2.0.14 to 2.0.15
2020-04-14 12:00:42 +01:00
browniebroke
82cde2eacc
Update django-anymail from 7.0.0 to 7.1.0
2020-04-14 12:00:39 +01:00
browniebroke
508ca6f4e8
Update django-anymail from 7.0.0 to 7.1.0
2020-04-14 12:00:37 +01:00
browniebroke
5040eb9ba4
Update django-anymail from 7.0.0 to 7.1.0
2020-04-14 12:00:37 +01:00
browniebroke
8bbcc6aa01
Update django-anymail from 7.0.0 to 7.1.0
2020-04-14 12:00:36 +01:00
browniebroke
81363cc0f8
Update django-anymail from 7.0.0 to 7.1.0
2020-04-14 12:00:35 +01:00
browniebroke
d816a62e43
Update django-anymail from 7.0.0 to 7.1.0
2020-04-14 12:00:33 +01:00
browniebroke
7cc6fc0b30
Update django-anymail from 7.0.0 to 7.1.0
2020-04-14 12:00:32 +01:00
browniebroke
cbaf953ed2
Update django-anymail from 7.0.0 to 7.1.0
2020-04-14 12:00:31 +01:00
browniebroke
efd53908af
Update django-anymail from 7.0.0 to 7.1.0
2020-04-14 12:00:30 +01:00
Andrew-Chen-Wang
cc099ae941
Edited docs for local running async
2020-04-13 11:26:09 -04:00
Andrew-Chen-Wang
f0813a24b2
Added Heroku and Gulp support
...
* Deleted some unnecessary info inside asgi.py
2020-04-13 10:57:42 -04:00
Bruno Alla
2993bbf78f
Merge pull request #2514 from codnee/python_3.8
...
Upgrade to Python 3.8
2020-04-13 15:13:32 +01:00
Bruno Alla
712f60874d
Merge pull request #2534 from pydanny/pyup-update-coverage-5.0.4-to-5.1
...
Update coverage to 5.1
2020-04-13 12:57:45 +01:00
Bruno Alla
9b6d29d491
Merge pull request #2533 from danihodovic/store-coveragerc-in-setup.cfg
...
Store coverage config in setup.cfg
2020-04-13 12:57:26 +01:00
browniebroke
6510ab1555
Update coverage from 5.0.4 to 5.1
2020-04-13 12:00:29 +01:00
Dani Hodovic
83934f3d86
Store coverage config in setup.cfg
...
Less is more. Unify tooling configuration in one file.
2020-04-12 21:40:02 +03:00
Tano Abeleyra
0f388a6d96
Fix minor typo
2020-04-11 14:49:04 -03:00
browniebroke
e474ed3f1a
Update sphinx from 3.0.0 to 3.0.1
2020-04-11 12:00:29 +01:00
Duda Nogueira
819e9ff273
Adding some spaces to pass build :P
2020-04-07 19:29:46 -03:00
Duda Nogueira
1d2d881aba
Fix INTERNAL_IPS for DOCKER when ip higher than 9
...
previously, for IP ex: 172.19.0.13 becomes: 172.19.0.11
now, it becomes 172.19.0.1
2020-04-07 18:53:09 -03:00
Andrew Chen Wang
041751a359
Fixed linter for asgi.py
2020-04-07 00:23:31 -04:00
Andrew Chen Wang
2ecbf7ac34
Merge branch 'master' into async
2020-04-06 23:02:36 -04:00
Bruno Alla
94d7bd11ad
Update psycopg2 from 2.8.4 to 2.8.5
2020-04-06 13:36:42 +01:00
browniebroke
75f4d304f4
Update psycopg2-binary from 2.8.4 to 2.8.5
2020-04-06 13:36:42 +01:00
browniebroke
bd104afb3d
Update sphinx from 2.4.4 to 3.0.0
2020-04-06 12:00:30 +01:00
Tevak
0df3087d3d
Traefik - Also redirect wwww. to service.
2020-04-04 17:26:24 +02:00
browniebroke
d16760bf8b
Update pillow from 7.1.0 to 7.1.1
2020-04-03 12:00:30 +01:00
browniebroke
8eb14e6c84
Update pillow from 7.0.0 to 7.1.0
2020-04-02 12:00:31 +01:00
Bruno Alla
5659996b7e
Merge pull request #2518 from pydanny/pyup-update-werkzeug-1.0.0-to-1.0.1
...
Update werkzeug to 1.0.1
2020-04-01 16:03:45 +01:00
browniebroke
80fdb5c7cc
Update werkzeug from 1.0.0 to 1.0.1
2020-04-01 12:00:35 +01:00
browniebroke
bbd940363f
Update django from 3.0.4 to 3.0.5
2020-04-01 12:00:31 +01:00
browniebroke
94a1fef0af
Update pytest-django from 3.8.0 to 3.9.0
2020-03-31 12:00:31 +01:00
Ernesto Cedeno
0cdf60ceac
Change Python version to 3.8
2020-03-29 19:55:27 +02:00
Bruno Alla
018938dd0e
Merge pull request #2513 from pydanny/pyup-update-flake8-isort-2.9.0-to-2.9.1
...
Update flake8-isort to 2.9.1
2020-03-29 16:45:22 +01:00
browniebroke
53b240af9a
Update flake8-isort from 2.9.0 to 2.9.1
2020-03-29 12:00:34 +01:00
browniebroke
e49afda665
Update flower from 0.9.3 to 0.9.4
2020-03-29 12:00:30 +01:00
Andrew Chen Wang
efbb04da91
Update so apps load first when using asgi.py
2020-03-27 21:32:17 -04:00
Bruno Alla
48bad8379d
Merge pull request #2508 from pydanny/pyup-update-django-extensions-2.2.8-to-2.2.9
...
Update django-extensions to 2.2.9
2020-03-27 18:09:05 +00:00
Tim Gates
62236dd908
docs: Fix simple typo, interpteter -> interpreter
...
There is a small typo in {{cookiecutter.project_slug}}/docs/pycharm/configuration.rst.
Should read `interpreter` rather than `interpteter`.
2020-03-27 22:15:56 +11:00
browniebroke
820f574bf5
Update django-extensions from 2.2.8 to 2.2.9
2020-03-27 11:00:30 +00:00
Bruno Alla
1e612c4cfb
Remove request_factory fixture, use the rf one from pytest-django
2020-03-26 18:21:11 +00:00
Andrew-Chen-Wang
c9744497c9
Added gunicorn to base.txt requirements for async work
2020-03-24 21:53:53 -04:00
Andrew-Chen-Wang
367225e4e8
Removed the 4 workers from the production start of uvicorn
2020-03-24 21:46:40 -04:00
Andrew-Chen-Wang
7cd390854b
Fixed linter checks
2020-03-24 21:42:28 -04:00
Andrew-Chen-Wang
e6b800d985
Added static files URL for runserver-level/best performance
...
* The reason there was a degraded performance was because we're using Gunicorn itself as a local tester. So we needed to add the staticfiles urls
2020-03-24 20:59:28 -04:00
Andrew-Chen-Wang
125ffec243
Changed starting commands for running server
...
* Performance is very low
2020-03-24 20:51:43 -04:00
Andrew-Chen-Wang
910ed86d11
Fixed linter check for #2506
2020-03-24 16:12:47 -04:00
Andrew-Chen-Wang
aee2de347b
Add uvicorn and web sockets for Django 3
...
* Add use_async option to cookiecutter.json
* Add websocket configuration
2020-03-24 15:40:14 -04:00
Bruno Alla
7e1cb599af
Remove flake noqa exception
2020-03-23 21:46:14 +00:00
Bruno Alla
56d5e271aa
Remove isort exception in production config & fix issue
2020-03-23 21:46:14 +00:00
Bruno Alla
c4b1666707
Move storages classes into their own module
2020-03-23 21:46:14 +00:00
Gabriel Mejia
2e1a922577
Add CELERY_BROKER_URL for gitlab #2504 ( #2505 )
...
* Solved issue #2504
* Added new contributor
Co-authored-by: Gabriel Mejia <gmejia@veritran.com>
2020-03-23 21:43:59 +00:00
Bruno Alla
ea5db6c4f4
Django 3.0 support ( #2469 )
...
* Bump Django version to 3.0.x to see what breaks
* Update places where Django 2.2 is mentioned to 3.0
* Update to latest Django 3.0 version
* Bump version in setup.py
2020-03-23 21:41:51 +00:00
browniebroke
12a4bd27e8
Update sentry-sdk from 0.14.2 to 0.14.3
2020-03-21 11:00:31 +00:00
Demetris Stavrou
5b9161e16e
Fixed pre-commit files selector regex
2020-03-17 22:11:16 +02:00
Bruno Alla
92bbddc290
Change style for pytest marker
...
Update pytest.mark.django_db to be more consistent with rest of the project
2020-03-17 18:41:27 +00:00
Bruno Alla
984b5bcfbe
Nicer syntax to join paths
2020-03-17 15:46:55 +00:00
Bruno Alla
5498716c74
Fix isort
2020-03-17 15:35:42 +00:00
Bruno Alla
d2988040d5
Merge branch 'master' into pathlib-migration-updated
2020-03-17 14:16:35 +00:00
Bruno Alla
d15ea8b9b4
Merge branch 'master' into pyup-update-coverage-5.0.3-to-5.0.4
2020-03-17 11:57:37 +00:00
Bruno Alla
9ab2a0f2a8
Merge pull request #2494 from pydanny/pyup-update-flake8-isort-2.8.0-to-2.9.0
...
Update flake8-isort to 2.9.0
2020-03-17 11:56:55 +00:00
browniebroke
06a880164a
Update coverage from 5.0.3 to 5.0.4
2020-03-17 11:00:39 +00:00
browniebroke
61476eaca1
Update flake8-isort from 2.8.0 to 2.9.0
2020-03-17 11:00:35 +00:00
browniebroke
e3486dc782
Update celery from 4.4.1 to 4.4.2
2020-03-17 11:00:31 +00:00
Bruno Alla
e97573dfda
Merge pull request #2435 from Andrew-Chen-Wang/master
...
Add all supported Anymail Providers
2020-03-16 19:59:25 +00:00
Bruno Alla
ca7fcb8f62
Merge pull request #2442 from jameswilliams1/fix-django-compressor-settings
...
Fix broken Django Compressor setup and enable static files minification
2020-03-16 19:53:02 +00:00
James Williams
090b93c01e
remove setting compress_enabled to null in .django
2020-03-15 22:16:40 +00:00
Bruno Alla
530868d072
Move "rest_framework" in THIRD_PARTY_APPS
2020-03-15 19:20:44 +00:00
Bruno Alla
729cd2adab
Merge branch 'master' into drf-auth-token
2020-03-15 19:19:36 +00:00
Bruno Alla
fa841e6d97
Merge pull request #2483 from scaramagus/master
...
Add PYTHONDONTWRITEBYTECODE flag to local development Dockerfile
2020-03-15 19:10:49 +00:00
Bruno Alla
76dfa29932
Merge pull request #2490 from guilherme1guy/master
...
Updates default Gitlab CI configuration to fix broken builds on new projects
2020-03-15 19:05:20 +00:00
Guilherme Guy
fa8311405d
Fixes gitlabCI failing due to postgres config
2020-03-15 09:23:21 -03:00
browniebroke
95057c4769
Update django-stubs from 1.4.0 to 1.5.0
2020-03-15 11:00:30 +00:00
Andrew-Chen-Wang
5e1d1dd1c3
Fixed tests for mail providers
2020-03-14 15:09:05 -04:00
Andrew-Chen-Wang
3978890502
Adjusted readability
...
* Changed Vanilla/Plain Django-Anymail to Other SMTP
* Made Mailgun default again
* config/production.py adjusted if conditions according to @browniebroke
2020-03-14 13:43:37 -04:00
Andrew-Chen-Wang
9cf72849e6
Merged parent repo and configured refurbished tests
2020-03-14 13:29:08 -04:00
browniebroke
324e307402
Update pre-commit from 2.1.1 to 2.2.0
2020-03-13 11:00:34 +00:00
Agustin Scaramuzza
7e345d5fb3
Add PYTHONDONTWRITEBYTECODE flag to local development Dockerfile
2020-03-11 14:41:37 -03:00
browniebroke
427c69562e
Update mypy from 0.761 to 0.770
2020-03-11 11:00:31 +00:00
jeromecaisip
3a3550cd3f
Update base.txt
2020-03-08 17:55:19 +01:00
browniebroke
09fd30b6a8
Update sphinx from 2.4.3 to 2.4.4
2020-03-06 11:00:31 +00:00
Bruno Alla
d17c2ec015
Merge pull request #2477 from pydanny/pyup-update-ipdb-0.13.1-to-0.13.2
...
Update ipdb to 0.13.2
2020-03-04 15:56:38 +00:00
browniebroke
2fd0cf0e35
Update ipdb from 0.13.1 to 0.13.2
2020-03-04 11:00:36 +00:00
browniebroke
effb548b5d
Update django from 2.2.10 to 2.2.11
2020-03-04 11:00:32 +00:00
Bruno Alla
fab6b8724a
Test isort flake8-isort & fix issues
...
fixes #2123
2020-03-03 20:04:31 +00:00
Bruno Alla
a24a6f337b
Add Heroku dyno for celery beat
2020-03-03 18:56:18 +00:00
jeromecaisip
4825b932c7
Optionally remove/add restframework according to choice
2020-03-03 14:45:20 +01:00
Bruno Alla
5e16589d8e
Merge pull request #2472 from pydanny/pyup-update-collectfast-2.0.1-to-2.1.0
...
Update collectfast to 2.1.0
2020-03-03 13:09:47 +00:00
browniebroke
ff43635bb7
Update celery from 4.4.0 to 4.4.1
2020-03-03 11:00:36 +00:00
browniebroke
4fd15474b1
Update collectfast from 2.0.1 to 2.1.0
2020-03-03 11:00:31 +00:00
jeromecaisip
bfe463fa7c
Update base.py
2020-03-02 19:27:07 +01:00
jeromecaisip
fa6ca7b1c8
Add rest_framework.authtoken on installed apps.
...
Add rest_framework.authtoken on installed apps when the option to use DRF is selected, because the endpoint
'/auth-token/" depends on the said app.
2020-03-02 19:16:33 +01:00
Bruno Alla
a0174840cb
Merge pull request #2468 from pydanny/pyup-update-ipdb-0.12.3-to-0.13.1
...
Update ipdb to 0.13.1
2020-02-29 12:12:04 +00:00
Bruno Alla
96b98c08f3
Merge pull request #2467 from pydanny/pyup-update-django-crispy-forms-1.8.1-to-1.9.0
...
Update django-crispy-forms to 1.9.0
2020-02-29 11:48:16 +00:00
browniebroke
3765271015
Update ipdb from 0.12.3 to 0.13.1
2020-02-29 11:00:36 +00:00
browniebroke
ccfe97972a
Update django-crispy-forms from 1.8.1 to 1.9.0
2020-02-29 11:00:33 +00:00
browniebroke
7e0f86b4ba
Update django-celery-beat from 1.6.0 to 2.0.0
2020-02-29 11:00:30 +00:00
James Williams
d3db7a867f
fix compresss offline never runs using environ
2020-02-28 17:04:15 +00:00
James Williams
89f85f1255
- configure compressor when not using s3
...
- update django start script to compress if using whitenoise and compress enabled
- add to contributors.rst
2020-02-28 15:59:14 +00:00
browniebroke
fe7a70be66
Update sentry-sdk from 0.14.1 to 0.14.2
2020-02-27 11:00:32 +00:00
Bruno Alla
f9b0c4846b
Update pre-commit from 2.1.0 to 2.1.1 ( #2463 )
2020-02-25 20:58:45 +08:00