Commit Graph

12 Commits

Author SHA1 Message Date
Jelmer Draaijer
0fc4ea6165 Apply ruff to codebase 2024-02-13 11:59:55 +01:00
pyup.io bot
6301fcc603
Update black to 24.1.0 (#4806)
* Update black from 23.12.1 to 24.1.0

* Update black from 23.12.1 to 24.1.0

* Update black pre-commit hooks

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix a few styling issues for black v24

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-26 10:49:52 +00:00
tildebox
70014c2b45
Rename ROOT_DIR to BASE_DIR (#4086)
Co-authored-by: example <example@example.com>
Fix https://github.com/cookiecutter/cookiecutter-django/issues/4075
2023-01-25 22:55:08 +00: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
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
f0813a24b2 Added Heroku and Gulp support
* Deleted some unnecessary info inside asgi.py
2020-04-13 10:57:42 -04:00
Andrew Chen Wang
041751a359
Fixed linter for asgi.py 2020-04-07 00:23:31 -04:00
Andrew Chen Wang
efbb04da91
Update so apps load first when using asgi.py 2020-03-27 21:32:17 -04:00
Andrew-Chen-Wang
7cd390854b Fixed linter checks 2020-03-24 21:42: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