Commit Graph

4359 Commits

Author SHA1 Message Date
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
Fábio C. Barrionuevo da Luz
b2a136cbe9
Merge pull request #2578 from pydanny/ensure-absolute-path
Improve the ROOT_DIR definition
2020-04-30 11:44:37 -03: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
Fábio C. Barrionuevo da Luz
e60084fee1
Merge pull request #2574 from pydanny/pyup-update-uvicorn-0.11.3-to-0.11.5
Update uvicorn to 0.11.5
2020-04-29 09:59:54 -03: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
Bruno Alla
d1c9791e95 Update CONTRIBUTORS.rst 2020-04-29 09:17:19 +01:00
Bruno Alla
e46c9969dd Run DRF tests on Travis 2020-04-29 09:13:18 +01:00
Bruno Alla
2caf9dc31e
Merge pull request #2572 from Andrew-Chen-Wang/patch-2 2020-04-29 09:06:28 +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
5a481e20fc
Merge pull request #2570 from pydanny/pyup-update-sh-1.13.0-to-1.13.1 2020-04-28 20:18:52 +01:00
pyup-bot
ed60aa36ee Update sh from 1.13.0 to 1.13.1 2020-04-28 07:40:23 -07: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
f402437fb5 Fix broken link in CONTRIBUTORS.rst 2020-04-28 12:49:05 +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
Bruno Alla
ecbb5f8568
Merge pull request #2564 from pydanny/pyup-update-pytest-sugar-0.9.2-to-0.9.3 2020-04-28 12:39:32 +01:00
Bruno Alla
ff906957f0
Merge pull request #2566 from pydanny/pyup-update-sh-1.12.14-to-1.13.0 2020-04-28 12:19:43 +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
pyup-bot
84d871a1cd Update sh from 1.12.14 to 1.13.0 2020-04-27 11:40:16 -07:00
Fábio C. Barrionuevo da Luz
04fea65333
Merge pull request #2562 from nojanath/master
Documentation update for local setup
2020-04-27 10:33:04 -03: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
Jonathan Thompson
a34e3a53c6
Update CONTRIBUTORS.rst 2020-04-27 02:38:51 +00:00
Jonathan Thompson
393526bc47
Clarify the installation steps for local setup
Added a link to Cookiecutter as a prerequisite.
Added an installation command for cookiecutter-django.
Added a command for git init.  The precommit install fails unless you have a git repo.

This should make it easier for a newcomer to get things configured.
2020-04-27 02:31:46 +00:00
Bruno Alla
6b71a3c8c2
Merge pull request #2561 from pydanny/pyup-update-pillow-7.1.1-to-7.1.2 2020-04-26 19:04:55 +01:00
browniebroke
b8a1805a9f Update pillow from 7.1.1 to 7.1.2 2020-04-26 12:00:30 +01:00
Bruno Alla
386df5e054
Merge pull request #2559 from tanoabeleyra/fix-django-redis-links 2020-04-25 12:00:34 +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
Bruno Alla
1838ba37e0 Remove the labeler workflow, it's broken with forks 2020-04-24 15:38:20 +01:00
Bruno Alla
c30d94cbd0
Merge pull request #2547 from wadkar/traefik-fix-www 2020-04-24 15:33:49 +01: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
ab93e28c88
Update contributors 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
Jimmy Gitonga
acf61d2985
Merge pull request #5 from pydanny/master
Update to Django 3
2020-04-24 12:03:39 +03:00
Bruno Alla
70e1220484
Merge pull request #2556 from pydanny/pyup-update-pre-commit-2.2.0-to-2.3.0 2020-04-23 16:36:27 +01:00