Bruno Alla
0dcc4c4b4c
Add more pre-commit hooks ( #4266 )
...
* Add more hooks from pre-commit-hooks repo
* Add pre-commit hook for prettier
* Format with prettier
* Remove check-docstring-first hook
* Run prettier in the template
* Tweak formatting of dependabot file
* Fix formatting of GitHub files for prettier
* More format fixes of ci.yml
2023-04-15 12:15:15 +01:00
Andrew Chen Wang
1783257ed3
Add username_type option ( #3958 )
...
* Add username_type option
* Update docs
Signed-off-by: Andrew-Chen-Wang <acwangpython@gmail.com>
* Fix errors and lint
Signed-off-by: Andrew-Chen-Wang <acwangpython@gmail.com>
* Try linting again
* Try linting again
* Handle signup
* Fix url reverse in template
* Fix migration file
* Remove extra line in factories
* E2E tests for email username
* Fix style in users api views and serializers
* Fix style in users api views and serializers
* Add conditions for fields in UserAdminCreationForm
* Consistent Jinja tag conditions
* Fix more empty lines issues
* Tweak options order
* Test username email
* Fix code style
* Fix kwargs to reverse user details view
* Remove comment in template
* Fix error messages dict in user form
* Fix line wrapping
* Move custom manager into a separate module and add tests
---------
Signed-off-by: Andrew-Chen-Wang <acwangpython@gmail.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-04-15 11:53:15 +01:00
Jelmer
42c30dafcb
Upgrade Python to version 3.11 (Faster CPython) ( #4256 )
...
* Upgrade Python to version 3.11 (Faster CPython)
* Update pyupgrade config for Python 3.11
* Update tox env to Python 3.11
* Update to latest Python 3.11.3
* Add a note about lack of support in PythonAnywhere
* Rephrase note
* Fix casing
---------
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-04-15 11:42:33 +01:00
Morten Kaae
f55b30bb29
Remove deprecated security setting ( #4247 )
...
* Remove deprecated setting
* Update documentation
2023-04-04 10:31:08 +01:00
pyup.io bot
c19957604a
Update myst-parser to 1.0.0 ( #4197 )
2023-03-07 20:40:54 +00:00
pyup.io bot
6e7355a8c9
Update myst-parser to 0.19.1 ( #4193 )
2023-03-04 18:57:53 +00:00
Bruno Alla
6e782bff33
Include contributing page to the docs ( #4144 )
...
* Add MyST parser
* Include contributing page to the docs
2023-03-04 18:45:25 +00:00
Arkadiusz Michał Ryś
06369bfd4c
Add option to serve media files locally using nginx ( #2457 )
...
* Add option to serve media files locally using nginx
* Fix nginx media location and storage issue
* Fix traefik django-media typo
* Add certresolver property to web-media-router
* Add trailing slash in nginx configuration to avoid path traversal exploits
* Remove autoindexing from nginx configuration so nginx uses its default off setting
* Use nginx to serve media files if cloud provider is None
* Add back warning about lack of media files without Docker or Cloud providers
* Update documentation
* Fix typos and rephrase
Co-authored-by: Arkadiusz Ryś <arkadiusz.michal.rys@gmail.com>
---------
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-03-04 18:36:11 +00:00
pyup.io bot
9eb480f60f
Update sphinx to 6.1.3 ( #4148 )
...
* Update sphinx from 5.3.0 to 6.1.3
* Update sphinx from 5.3.0 to 6.1.3
2023-02-08 23:31:25 +00:00
pyup.io bot
aee68f3e8a
Update sphinx-rtd-theme from 1.1.1 to 1.2.0 ( #4145 )
2023-02-07 22:58:44 +00:00
duffn
1f300e0ca2
Add note about which service to request when running locally with Docker & Webpack or Gulp ( #4130 )
...
* Add note about running Webpack locally with Docker
* Add note about running Gulp locally with Docker
2023-02-05 10:00:28 +00:00
Bruno Alla
cbb0e19de7
Add Webpack support ( #3623 )
...
* Add support for Webpack as frontend pipeline
* Rename CI jobs
* Fix a couple of issues with Webpack + Docker
* Don't include Boostrap CSS from CDN with Webpack
* Rename variable
* Set publicPath in prod webpack config
* Fix removal of SASS files in post-gen hooks
* Add Webpack to readme usage section
* Run Django + Webpack dev server concurrently without Docker
* Fix async runserver command with Gulp/Webpack
* Upgrade django-webpack-loader to 1.5.0
* Pass variables required by Webpack at build time
* Upgrade django-webpack-loader to 1.7.0
* Add missing condition
* Add support for Azure Storage + Webpack
* Whitespaces
* Rename ROOT_DIR -> BASE_DIR
* Rename jobs
* Bump django-webpack-loader to latest
* Document limitation of Docker + Webpack + no Whitenoise
* Update section on custom Bootstrap compilation in generated readme
2023-01-29 12:12:12 +00:00
Patrick Tran
dfd8164ef8
Update postgres and redis to point to mini tiers ( #4099 )
...
* Update postgres and redis to point to mini tiers
* Update deployment-on-heroku.rst
* Update deployment-on-heroku.rst
2023-01-25 09:50:41 -03:00
Pamela Fox
470eb70069
Update Celery instructions ( #4061 )
...
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-01-11 17:38:38 +00:00
Pamela Fox
66be5ceab4
Fix link, add non-Docker commands ( #4036 )
2023-01-06 17:48:39 +00:00
Omer-5
ed90ead15f
Improve documentation for Getting started with Docker ( #4003 )
...
Fix https://github.com/cookiecutter/cookiecutter-django/issues/3971
2022-12-13 21:32:57 +00:00
rguptar
49b3bb8ffe
Add Azure Storage as an option to serve static and media files ( #3967 )
...
Fix https://github.com/cookiecutter/cookiecutter-django/issues/2301
2022-11-30 18:26:58 +00:00
pyup.io bot
d1d6ee4dd7
Update sphinx-rtd-theme to 1.1.1 ( #3935 )
2022-11-06 11:24:07 +00:00
pyup-bot
9cc2a202d2
Update sphinx-rtd-theme from 1.0.0 to 1.1.0
2022-11-01 13:37:23 -07:00
Jelmer
4ea0e98f3f
Upgrade Python version from 3.9 to 3.10 ( #3913 )
2022-10-24 21:41:00 +01:00
Dani Hodovic
b623c0f956
Set AWS_S3_MAX_MEMORY_SIZE ( #3810 )
...
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2022-10-19 20:15:25 +01:00
pyup.io bot
0c98640a0b
Update sphinx to 5.3.0 ( #3905 )
2022-10-19 19:48:41 +01:00
pyup.io bot
4edbc804f6
Update sphinx to 5.2.3 ( #3887 )
2022-09-30 20:23:33 +01:00
pyup.io bot
68f21b6028
Update sphinx to 5.2.2 ( #3884 )
...
* Update sphinx from 5.2.1 to 5.2.2
* Update sphinx from 5.2.1 to 5.2.2
2022-09-27 22:07:21 +01:00
pyup.io bot
928836ee89
Update sphinx to 5.2.1 ( #3879 )
2022-09-26 14:11:30 +01:00
monosans
9cf280d343
Reload uvicorn on html file change ( #3866 )
2022-09-23 21:28:11 +01:00
Marcio Mazza
28a06b12af
Fix typo in docs ( #3850 )
2022-08-26 15:00:57 +01:00
pyup-bot
b1cea690b9
Update sphinx from 5.1.0 to 5.1.1
2022-07-26 16:55:57 -07:00
pyup.io bot
bb4012b6ce
Update sphinx to 5.1.0 ( #3808 )
2022-07-26 23:51:25 +01:00
pyup.io bot
6f351155de
Update sphinx to 5.0.2 ( #3801 )
2022-07-22 17:11:56 +01:00
pyup-bot
4e830b1575
Update sphinx from 5.0.0 to 5.0.1
2022-06-04 18:44:40 +01:00
pyup-bot
246f8a4361
Update sphinx from 4.5.0 to 5.0.0
2022-06-04 18:31:06 +01:00
Jimmy Gitonga
bc71a326da
Update postgres versions ( #3712 )
...
* REFACTOR: Update PostgreSQL versions that fix some security issues.
* CHORE: Update PostgreSQL versions that fix some security issues.
2022-05-16 11:39:19 +01:00
Bruno Alla
96b9b95af7
Add pyupgrade to pre-commit config ( #3702 )
...
* Add pyupgrade to pre-commit config
* Exclude hooks folder from pyupgrade
* Autofix: run pyupgrade
* Autofix: run pyupgrade on template files
2022-05-07 19:21:15 +01:00
pyup.io bot
a31a60eca5
Update sphinx to 4.5.0 ( #3654 )
2022-03-27 18:50:59 +01:00
Bruno Alla
dc8ad895bb
Fix link, formatting & a typo
2022-03-20 15:43:37 +00:00
Bruno Alla
ab4a32d558
Unify compressor, gulp and custom bootstrap options ( #3535 )
2022-03-20 15:00:40 +00:00
Bruno Alla
bd12be3b38
Fix a typo in the docs
2022-03-19 18:37:48 +00:00
Cebrail Yılmaz
61f16e5224
Fix incorrect createdb instruction in documentation ( #3606 )
...
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2022-02-20 13:21:06 +00:00
Andrew Chen Wang
85ee3c921a
Change docs port to 9000 from 7000 ( #3590 )
...
Signed-off-by: Andrew-Chen-Wang <acwangpython@gmail.com>
2022-02-13 12:49:05 +00:00
pyup.io bot
f38c341f8e
Update sphinx to 4.4.0 ( #3537 )
2022-01-17 09:07:45 +00:00
Pedro Campos
4f408810fc
Avoid docker image/volume collision by prefixing with project slug ( #3528 )
...
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2022-01-17 08:53:56 +00:00
pyup.io bot
d2184ae952
Update sphinx to 4.3.2 ( #3477 )
2021-12-19 14:31:55 +00:00
Bruno Alla
db2b052515
Add a note regarding Redis on PythonAnywhere
...
Fix #3124
2021-12-10 20:18:50 +00:00
Bruno Alla
5fd9b9ab8c
Reword introduction in documentation ( #3452 )
2021-12-08 18:05:19 +00:00
pyup.io bot
4a578df625
Update sphinx to 4.3.1 ( #3438 )
2021-11-29 12:08:41 +00:00
Bruno Alla
407a7d8bbc
Setup pre-commit for the template files ( #3433 )
2021-11-26 15:41:50 +00:00
Bruno Alla
f234a0b69e
Clarify assumption with Mailgun on Heroku page
...
Fix #2565
2021-11-24 21:10:26 +00:00
Bruno Alla
8b4493365c
Fix Sphinx warning
2021-11-24 21:09:42 +00:00
Bruno Alla
6219aa4549
Small formatting fixes to Deploy to PythonAnywhere page ( #3432 )
...
* Remove Jinja tags in Deploy to PythonAnywhere documentation
* Tweak formatting for deploy on PythonAnywhere documentation page
2021-11-24 18:12:22 +00:00
Bruno Alla
fda7b9e2cc
Set docs theme to sphinx-rtd-theme
2021-11-22 21:31:29 +00:00
mpoli
145d65aeff
Bump Postgres to 13.5 12.9 11.14 10.19; add 14.1 ( #3428 )
2021-11-22 09:26:46 +00:00
Bruno Alla
9f359939a9
Upgrade JS dependencies and upgrade to node 16 ( #3400 )
2021-11-16 20:29:43 +00:00
Bruno Alla
5e99c7b54d
Fix wayback machine URL in docs
...
Fix #3223
2021-11-15 11:38:43 +00:00
pyup-bot
bc34320416
Update sphinx from 4.2.0 to 4.3.0
2021-11-10 12:18:51 -08:00
Bruno Alla
d43dd831ee
Fix broken build for docs
2021-11-04 18:06:49 +00:00
Fábio C. Barrionuevo da Luz
3467fb8c02
Merge pull request #3363 from nthall/update-postgres-setup-link
...
use Wayback Machine to fix dead link for postgres user setup
2021-10-25 21:40:41 -03:00
Bruno Alla
b2d46296f0
Move repo under cookiecutter organisation ( #3357 )
2021-10-22 13:40:53 -07:00
Noah Hall
ea56c11028
use Wayback Machine to fix dead link for postgres user setup
2021-10-14 22:34:59 -04:00
Meraj
112c29d77b
Updated developing-locally-docker.rst
...
changed wrong hyperlink in Prerequisites section
2021-10-01 17:02:07 +03:30
Bruno Alla
8142af1e15
Merge pull request #3297 from tannart/patch-1
...
Update available postgres versions
2021-09-03 18:15:34 +01:00
Keith Callenberg
a4a6cbf90c
Fix several minor typos
2021-08-19 16:43:44 -04:00
Charlie Macfarlane Brodie
5529c44b16
Update available postgres versions
...
The listed versions in the documentation were out of sync with those given when running cookiecutter as recommended in the documentation.
2021-08-17 09:44:45 +01:00
Bruno Alla
872f690f94
Merge pull request #3268 from Mike97M/master
...
Add documentation for automating backups
2021-08-12 10:41:46 +02:00
Bruno Alla
1bddad0275
Merge pull request #3291 from keithcallenberg/patch-1
...
Add missing step to getting started locally in docs
2021-08-12 10:35:12 +02:00
Keith Callenberg
081711ee63
minor correction in working directory in docs
2021-08-09 16:29:09 -04:00
Abdul Qoyyuum
3dfb5d1564
Update developing-locally-docker.rst
2021-08-07 16:43:47 +01:00
Abdul Qoyyuum
370cefdf24
How to pre-commit in Docker Development
...
It is clear that pre-commit cannot work inside Docker containers and it can only work with git stored on the local machine since its not in a shared volume with the containers. Therefore, it should be noted that anyone who uses this cookicutter with pre-commit already generated by default in every project, should start using pre-commit into their general workflow.
2021-08-06 15:55:40 +01:00
Mike97M
e295ddb778
Backup - get container ID automatically from docker-compose
...
Backup documentation to show how to use "docker-compose -f local.yml ps -q postgres" to get the container ID instead of hard coding it.
2021-07-14 16:06:38 +03:00
Grant McLean
9c3b0bcca0
revise previous patch to conform to project style for RST links
2021-06-09 15:39:35 +12:00
Grant McLean
05249e9954
Fix link format in developing-locally.rst
...
Link was markdown format - changed to RST.
2021-06-09 10:33:13 +12:00
Ray Besiga
e3c646f726
Shorthand for the official supported buildpack
...
Replacing the Github link with the Heroku shorthand defined for the officially supported buildpack.
2021-06-05 22:02:57 +03:00
Bruno Alla
9e7320ea1b
Merge branch 'master' into fix_upgrade_py39
...
# Conflicts:
# README.rst
# {{cookiecutter.project_slug}}/.gitlab-ci.yml
# {{cookiecutter.project_slug}}/compose/local/django/Dockerfile
# {{cookiecutter.project_slug}}/compose/production/django/Dockerfile
2021-04-08 18:43:54 +01:00
PJ Hoberman
b980db9f62
Adding local celery instructions to developing-locally
2021-01-30 13:55:06 -07:00
Bruno Alla
7b92bc388d
Update deprecated scale
command to up --scale
...
The scale command is deprecated: Use the up command with the `--scale` flag instead.
2021-01-28 10:46:03 +00:00
areski
a1d551d067
Update from Python3.8 to Python3.9
2021-01-26 16:13:27 +01:00
Fabian Affolter
4b9002d7db
Fix formatting
2020-11-14 22:10:36 +01:00
Andrew Chen Wang
72da0bfa9c
Fix docs service and add RTD support ( #2920 )
...
Co-authored-by: Andrew-Chen-Wang <Andrew-Chen-Wang@users.noreply.github.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2020-11-04 17:17:02 +00:00
Arnav Choudhury
b064e09f12
Adding GitHub-Action CI Option ( #2837 )
2020-09-21 11:20:24 +01:00
Jelmer Draaijer
688739cb39
Add environment and traces_sample_rate keyword to sentry_sdk.init
2020-08-28 10:25:40 +02:00
Corey Garvey
4f72047446
Updating production path to be hidden folder
2020-08-19 15:40:13 +01:00
Demetris Stavrou
89420f2932
Update linters.rst
...
Related to #2744 issue.
2020-08-14 15:09:36 +03:00
Bruno Alla
cac78de485
Merge pull request #2664 from Afrowave/master
2020-08-14 08:16:22 +01:00
Jimmy Gitonga
ddcafff94f
Update docs/developing-locally-docker.rst
...
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2020-08-14 01:01:17 +03:00
Jimmy Gitonga
59d92d9eb4
Update docs/developing-locally-docker.rst
...
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2020-08-14 01:00:17 +03:00
Matthias Sieber
279175a344
updated docs
2020-07-27 14:14:15 -07:00
Bruno Alla
08a15337b3
Update document.rst
2020-07-25 14:39:04 +01:00
Bruno Alla
b592003f87
Fix snippet in documentation
2020-07-25 14:37:54 +01:00
Jimmy Gitonga
bd0ed76421
ADD instructions not include the security certificates in the repo.
2020-07-07 08:07:51 +03:00
Jimmy Gitonga
aacdd97c4e
ADD instructions on how to set up a secure development environment.
2020-07-07 01:59:25 +03:00
Jimmy Gitonga
2ec3bdf55c
FIX the link to Let's Encrypt *Automatic HTTPS ( #2661 )
...
The link was broken as it was pointing to a non-existent page.
2020-07-06 07:54:32 -07:00
Jimmy Gitonga
697f5e1b6d
FIX the link to Let's Encrypt *Automatic HTTPS
...
The link was broken as it was pointing to a non-existent page.
2020-07-06 17:31:56 +03:00
Bruno Alla
196167490d
Merge branch 'master' into docs
...
# Conflicts:
# {{cookiecutter.project_slug}}/requirements/local.txt
2020-06-29 21:48:17 +01:00
Bruno Alla
931e5c4267
Merge pull request #2608 from stefanitsky/websocket-docs
2020-06-22 19:55:09 +01:00
Alexandr
7ba61274ce
📝 docs updated after review
2020-06-22 21:42:39 +03: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
Andrew Chen Wang
8bdef165a8
Fixed local async command in docs
2020-06-16 23:51:21 -04:00
Tano Abeleyra
009ca15a4c
Add AWS_S3_CUSTOM_DOMAIN entry to settings.rst
2020-05-28 19:16:54 -03:00
Alexandr
286363799c
📝 added websockets doc page #2506
...
* Simple explanation.
* Example of usage with JS.
* Additional nGinx config example.
2020-05-26 01:25:38 +03: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