Commit Graph

1787 Commits

Author SHA1 Message Date
Bruno Alla
6903daeddd
Merge pull request #2648 from Andrew-Chen-Wang/patch-3 2020-07-24 17:11:19 +01:00
pyup-bot
c6dd8471dd Update coverage from 5.2 to 5.2.1 2020-07-24 09:10:59 -07:00
Bruno Alla
6fffaf13ca Fix version for django-cors-headers 2020-07-24 16:54:39 +01:00
Bruno Alla
8d5542d675
Merge pull request #2683 from aadithpm/master 2020-07-24 16:47:42 +01:00
Andrew Chen Wang
c57b8976b0
Update {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/utils/context_processors.py
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2020-07-24 11:29:11 -04:00
Andrew Chen Wang
689e22f5b0
Be explicit in context processor 2020-07-23 22:47:20 -04:00
enchance
160ed6cb6d Added name to CONTRIBUTORS.txt 2020-07-24 01:00:56 +08:00
enchance
35d57d048b Compatibility issue for mypy 0.782. Must be mypy 0.770 because it uses djago-stubs 1.5.0. 2020-07-24 00:53:56 +08:00
Bruno Alla
95c7584cfb
Merge pull request #2690 from pydanny/pyup-update-sentry-sdk-0.16.1-to-0.16.2
Update sentry-sdk to 0.16.2
2020-07-23 11:37:29 +01:00
pyup-bot
9bdb433538 Update sentry-sdk from 0.16.1 to 0.16.2 2020-07-22 10:11:16 -07:00
pyup-bot
d31ee9afe7 Update pylint-django from 2.1.0 to 2.2.0 2020-07-22 07:23:20 -07:00
Andrew Chen Wang
fee9402e44
Use raw Jinja2 for cookiecutter template context
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2020-07-21 00:02:14 -04:00
Aadith PM
ff69126087
Update {{cookiecutter.project_slug}}/config/settings/base.py
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2020-07-20 11:21:06 -05:00
Aadith PM
20986bafb7 Fix style error with quotes 2020-07-18 20:37:03 -05:00
Aadith PM
eafe74262a Added django-cors-headers setup steps to base settings 2020-07-18 19:53:55 -05:00
Bruno Alla
8c8d9c1825
Merge pull request #2662 from pydanny/pyup-update-pytest-sugar-0.9.3-to-0.9.4
Update pytest-sugar to 0.9.4
2020-07-18 14:39:55 +01:00
pyup-bot
349f7e1141 Update uvicorn from 0.11.5 to 0.11.6 2020-07-17 07:46:56 -07:00
Aadith PM
f4ce1db0b5
Update requirements to include django-cors-headers with DRF [PR #2650] 2020-07-17 08:37:15 -05:00
Bruno Alla
949d3dfbd5
Merge pull request #2678 from pydanny/pyup-update-django-extensions-3.0.2-to-3.0.3
Update django-extensions to 3.0.3
2020-07-17 11:22:03 +01:00
Bruno Alla
148bfd8f0c
Merge pull request #2677 from pydanny/pyup-update-pylint-django-2.0.15-to-2.1.0
Update pylint-django to 2.1.0
2020-07-17 11:21:42 +01:00
pyup-bot
7a48cacdf7 Update django-extensions from 3.0.2 to 3.0.3 2020-07-14 07:20:16 -07:00
pyup-bot
a0c73d942f Update pylint-django from 2.0.15 to 2.1.0 2020-07-12 06:51:40 -07:00
pyup-bot
fd3462c2b9 Update sentry-sdk from 0.16.0 to 0.16.1 2020-07-10 12:02:49 -07:00
pyup-bot
5f7d23ff78 Update flake8-isort from 3.0.0 to 3.0.1 2020-07-08 01:33:25 -07:00
pyup-bot
60dfb4c5d3 Update pytest-sugar from 0.9.3 to 0.9.4 2020-07-06 13:20:16 -07:00
Bruno Alla
22d998ac58
Merge pull request #2643 from Tusky/patch-1 2020-07-06 17:31:14 +01:00
Bruno Alla
3839b1cb72
Merge pull request #2658 from pydanny/pyup-update-sphinx-3.1.1-to-3.1.2
Update sphinx to 3.1.2
2020-07-06 17:29:57 +01:00
pyup-bot
b8dce8d6db Update coverage from 5.1 to 5.2 2020-07-06 06:13:23 -07:00
pyup-bot
21fe485d72 Update sphinx from 3.1.1 to 3.1.2 2020-07-05 17:16:14 -07:00
Bruno Alla
a01fc583be Update requirements in base.txt 2020-07-04 16:15:10 +01:00
Bruno Alla
22e0dba9bd Split down condition into 2 lines in base.txt
maybe this might fix  the issue with PyUP not processing the file?
2020-07-04 16:09:57 +01:00
Bruno Alla
4a4dd056d1
Merge pull request #2583 from pydanny/2581-heroku-compressor-error
Fix OfflineGenerationError with Heroku + Django Compressor
2020-07-04 15:59:12 +01:00
Bruno Alla
33167946e0 Update Heroku runtime to latest bugfix 2020-07-04 15:25:27 +01:00
Bruno Alla
68116dcdea Fix issue with Heroku + Django Compressor 2020-07-04 15:20:51 +01:00
pyup-bot
09e7fce7de Pin sphinx-autobuild to latest version 0.7.1 2020-07-04 14:55:05 +01:00
Bruno Alla
19c151ba55
Merge pull request #2555 from hanhanhan/docs 2020-07-04 14:27:21 +01:00
Bruno Alla
f8164606d9
Merge pull request #2653 from pydanny/pyup-update-sentry-sdk-0.15.1-to-0.16.0
Update sentry-sdk to 0.16.0
2020-07-04 14:24:37 +01:00
Bruno Alla
d8df617145
Merge pull request #2652 from pydanny/pyup-update-django-extensions-3.0.1-to-3.0.2 2020-07-03 10:39:10 +01:00
pyup-bot
bf95ee5ac1 Update sentry-sdk from 0.15.1 to 0.16.0 2020-07-03 02:35:22 -07:00
pyup-bot
f5a177712c Update django-extensions from 3.0.1 to 3.0.2 2020-07-01 13:51:47 -07:00
pyup-bot
69473a4f96 Update pre-commit from 2.5.1 to 2.6.0 2020-07-01 13:51:43 -07:00
Andrew Chen Wang
53e2ba2a66
Update ugettext_lazy to gettext_lazy in models.py 2020-06-30 10:13:51 -04:00
Andrew Chen Wang
21c5b78714
Update ugettext_lazy to gettext_lazy in views.py 2020-06-30 10:12:53 -04:00
Andrew Chen Wang
69611313c9
Add author name and description to HTML meta 2020-06-30 10:01:50 -04:00
Bruno Alla
9af7b3ad6d Missing RUN command in Dockerfile 2020-06-29 21:52:10 +01:00
Bruno Alla
bed885f001 Comment out all lines related to LaTeX 2020-06-29 21:51:33 +01:00
Bruno Alla
196167490d Merge branch 'master' into docs
# Conflicts:
#	{{cookiecutter.project_slug}}/requirements/local.txt
2020-06-29 21:48:17 +01:00
pyup-bot
435a0c0276 Update django-extensions from 3.0.0 to 3.0.1 2020-06-29 13:44:24 -07:00
Bruno Alla
a52078ec47
Merge pull request #2644 from pydanny/pyup-update-django-extensions-2.2.9-to-3.0.0
Update django-extensions to 3.0.0
2020-06-29 21:43:39 +01:00
Andrew Chen Wang
a9688adc0e
Update ugettext_lazy to gettext_lazy 2020-06-29 15:27:53 -04:00
pyup-bot
8447699c93 Update django-extensions from 2.2.9 to 3.0.0 2020-06-29 05:35:40 -07:00
Richard Hajdu
e1cd81e28c
Gulp watcher fix for win10 fixes #2642
Fix for browsersync and file watchers not working correctly on windows.
2020-06-28 18:38:29 +02:00
Hannah Lazarus
916157e500
Update {{cookiecutter.project_slug}}/docs/_source/howto.rst
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2020-06-27 14:11:57 -04:00
Hannah Lazarus
8c2f49ad38
Update {{cookiecutter.project_slug}}/compose/local/docs/Dockerfile
sounds good!

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2020-06-27 13:57:50 -04:00
Bruno Alla
2d2f513cba
Merge pull request #2639 from pydanny/pyup-update-ipdb-0.13.2-to-0.13.3
Update ipdb to 0.13.3
2020-06-23 18:33:47 +01:00
pyup-bot
f3a511a656 Update ipdb from 0.13.2 to 0.13.3 2020-06-23 08:34:22 -07:00
pyup-bot
4eca81edc2 Update mypy from 0.781 to 0.782 2020-06-23 03:55:23 -07:00
Bruno Alla
e9fa8d566c
Merge pull request #2636 from pydanny/bump-base-deps
Update base requirements to latest version
2020-06-21 15:08:28 +01:00
Bruno Alla
e095ee9f93
Merge pull request #2600 from tanoabeleyra/s3-cdn
Allow to use a CDN with S3
2020-06-21 15:07:35 +01:00
Bruno Alla
8b3ee3cfe5
Merge pull request #2610 from Andrew-Chen-Wang/patch-2 2020-06-21 14:43:25 +01:00
Bruno Alla
aadf66185c Update base requirements to latest version 2020-06-21 14:26:40 +01:00
Bruno Alla
fe8a939611 Bump flake8 in pre-commit config 2020-06-21 14:23:48 +01:00
Bruno Alla
7a0ba0fa9d
Merge pull request #2635 from AsheKR/user-api-serializer-get-user-model 2020-06-21 14:13:40 +01:00
Bruno Alla
c0f391ca87
Merge pull request #2634 from pydanny/pyup-update-mypy-0.780-to-0.781
Update mypy to 0.781
2020-06-21 14:09:21 +01:00
Bruno Alla
723feb15c1
Merge pull request #2625 from pydanny/pyup-update-sphinx-3.0.4-to-3.1.1 2020-06-21 14:08:58 +01:00
Bruno Alla
5e435a1c26
Merge pull request #2622 from pydanny/pyup-update-pre-commit-2.4.0-to-2.5.1 2020-06-21 14:08:34 +01:00
Bruno Alla
36e4fd7361
Merge pull request #2616 from pydanny/pyup-update-collectfast-2.1.0-to-2.2.0
Update collectfast to 2.2.0
2020-06-21 14:08:18 +01:00
Gil
88f9a6c289 Replace User by get_user_model 2020-06-21 16:13:42 +09:00
pyup-bot
d979c342d6 Update mypy from 0.780 to 0.781 2020-06-20 08:51:49 -07:00
pyup-bot
d3a000d76d Update sentry-sdk from 0.14.4 to 0.15.1 2020-06-18 04:45:15 -07:00
Bruno Alla
27b905e7bc
Merge pull request #2618 from pydanny/pyup-update-flake8-3.8.2-to-3.8.3 2020-06-17 23:11:00 +01:00
Bruno Alla
91b58f033a
Merge pull request #2612 from pydanny/pyup-update-mypy-0.770-to-0.780
Update mypy to 0.780
2020-06-17 23:09:46 +01:00
Andrew Chen Wang
89b81452a9
Update Django to 3.0.7 due to CVEs
There were several CVE's that arose between 3.0.3 to 3.0.7. Updating quickly will resolve the vulnerabilities and fix several PRs.
2020-06-16 20:21:51 -04:00
pyup-bot
1b6e4994ca Update sphinx from 3.0.4 to 3.1.1 2020-06-14 03:13:04 -07:00
pyup-bot
54f8e3d672 Update pre-commit from 2.4.0 to 2.5.1 2020-06-09 16:02:00 -07:00
pyup-bot
6038a654ab Update flake8 from 3.8.2 to 3.8.3 2020-06-08 17:02:43 -07:00
pyup-bot
24e8a17d74 Update collectfast from 2.1.0 to 2.2.0 2020-06-05 17:08:27 -07:00
pyup-bot
9d0b570c51 Update mypy from 0.770 to 0.780 2020-06-03 05:12:36 -07:00
pyup-bot
9e87d4b189 Update pytest from 5.4.2 to 5.4.3 2020-06-03 00:26:13 -07:00
Andrew Chen Wang
d7f22a1158
Changed service to Docker dind 2020-05-29 18:05:44 -04:00
Andrew Chen Wang
7c3558fa62
Fix Docker configuration for Gitlab CI #2549
* Just missing the services I believe according to @rocode?
* I'm hoping to just completely eradicate the need for this setup with a follow-up PR for completely non-Docker approach on CI that supports celery, too.
2020-05-29 17:23:15 -04:00
pyup-bot
090c62e862 Update sphinx from 3.0.3 to 3.0.4 2020-05-27 02:27:13 -07:00
pyup.io bot
a8672e08cb
Update flake8 to 3.8.2 (#2607) 2020-05-24 09:02:08 +08:00
Hannah Lazarus
401ef31c6c Remove latex from sphinx docker build
Include as helper comment only
2020-05-18 10:33:57 -04:00
Tano Abeleyra
70f6471c75 Allow to use a CDN with S3 2020-05-17 12:37:35 -03:00
pyup-bot
ce66080f85 Update sentry-sdk from 0.14.3 to 0.14.4 2020-05-13 12:42:53 -07:00
Bruno Alla
1c630c3a77
Merge pull request #2596 from pydanny/pyup-update-flake8-3.7.9-to-3.8.1 2020-05-12 11:16:43 +01:00
Bruno Alla
09790ee8fb Resolve new flake8 error 2020-05-12 10:18:15 +01:00
Bruno Alla
cd740c2619 Update flake8 from 3.7.9 to 3.8.1 in pre-commit config 2020-05-12 10:12:48 +01:00
pyup-bot
b1c6ad25d2 Update flake8 from 3.7.9 to 3.8.1 2020-05-12 01:06:20 -07:00
pyup-bot
a5cb77399e Update pre-commit from 2.3.0 to 2.4.0 2020-05-11 14:13:47 -07:00
pyup-bot
580ef4117d Update pytest from 5.4.1 to 5.4.2 2020-05-09 00:17:30 -07:00
Bruno Alla
9075bdb39b
Merge pull request #2577 from Andrew-Chen-Wang/hiredis 2020-05-05 20:06:32 +01:00
Bruno Alla
e37627c4b1 Fix pre-commit config & add Black to the pre-commmit hooks
Fixes #2502
2020-05-01 19:10:42 +01:00
Bruno Alla
bcfcd384f8 Test user detail view 2020-05-01 17:55:32 +01:00
Andrew-Chen-Wang
b70b6ebd7e Fixed production.txt typo when docker and windows combine 2020-05-01 10:39:30 -04:00
Andrew-Chen-Wang
836ea3a140 Merge branch 'hiredis' of https://github.com/Andrew-Chen-Wang/cookiecutter-django into hiredis 2020-05-01 10:37:44 -04:00
Andrew-Chen-Wang
bf5f557d2b Added docker parameter to hiredis requirement 2020-05-01 10:35:20 -04:00
Bruno Alla
a63278fb4e
Merge pull request #2575 from Andrew-Chen-Wang/watchgod 2020-04-30 22:34:25 +01:00
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