Commit Graph

34 Commits

Author SHA1 Message Date
Bruno Alla
eca21f5b77
Update broken link to https
Fix #4484
2023-07-26 09:50:16 +01:00
Joseph Hanna
d604fd7db1
Add Postgresql 15 (#4431)
* Add Postgresql 15

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

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

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-04 21:14:28 +01:00
masavini
1ed6d6e03b
VS Code Dev Container (#4198)
* decontainer setup

* update

* fix typo

* keep .envs

* add info

* typo

* minor fixes

* keep compose/production

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

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

* add isort and lint

* choose editor and configure devcontainer

* choose editor and configure devcontainer

* add ssh client

* Remove isort arguments duplicated with base config

* End of file

* Only keep black as code formatter

* Add note about black not being accepted as formatter in devcontainer

* Avoid empty lines in devcontainer.json

* Move bash_history into .devcontainer folder

* Remove .prettierignore file

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-07-03 11:55:33 +02:00
Jelmer
6f34e19260
Merge pull request #4393 from foarsitter/django-4.2
Upgrade to django 4.2
2023-06-28 08:58:24 +02:00
Bruno Alla
d4824e1934
Link to OpenCollective in README 2023-06-23 10:35:44 +01:00
Jelmer Draaijer
c15eb6d97a Upgrade to django 4.2 2023-06-14 15:26:44 +02:00
Fábio C. Barrionuevo da Luz
c3bff996de
Add Fabio to the Support this Project! section on Readme 2023-05-05 17:23:34 -03:00
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
Jelmer
a07b4b3112
Upgrade to Django 4.1 (#4028)
* Upgrade to Django 4.1

* Bump django-environ back to 0.10.0

---------

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-04-04 22:10:17 +01: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
Bruno Alla
c1ed81a8cf
Replace linting job by pre-commit.ci (#4143) 2023-02-08 17:51:29 +00:00
Andrew Chen Wang
86eec800b8
Added AWS ECS Full Deployment Article to README (#2630)
* Added AWS ECS Full Deployment Article

* Just for a refresher

* Add AWS ECS Full Deployment Article by Andrew Chen Wang

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-02-06 19:38:51 +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
Bruno Alla
2c914c2032
Fix URL 2022-12-21 09:51:17 +00:00
Bruno Alla
9b9bc9bec1
Update target URL for build badge 2022-12-21 09:49:45 +00:00
TAKAHASHI Shuuji
d3bd184aaa
Update image URL for build status shield badge (#4018) 2022-12-21 09:47:51 +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
Jelmer
4ea0e98f3f
Upgrade Python version from 3.9 to 3.10 (#3913) 2022-10-24 21:41:00 +01:00
Bruno Alla
9db2752598
Upgrade to Django 4.0 (#3848) 2022-10-19 20:01:43 +01:00
Haseeb ur Rehman
050111cf61
Update README.md (#3844) 2022-09-01 07:22:32 +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
91c931273c
Update domain for Celery docs (#3663) 2022-04-01 17:32:05 +01:00
Bruno Alla
a840a37e30 Move code of conduct to a dedicated file
This way it's picked up by GitHub ref #3601
2022-03-20 15:25:08 +00:00
Bruno Alla
b67b528636 Remove outdated option from README 2022-03-20 15:18:20 +00:00
Bruno Alla
ab4a32d558
Unify compressor, gulp and custom bootstrap options (#3535) 2022-03-20 15:00:40 +00:00
Bruno Alla
90e4c0e51d Update Discord invite link to not expire 2022-02-08 18:55:13 +00:00
Abdullah Adeel
09cb960400
mysql support link (#3544)
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2022-01-21 12:20:51 +00:00
Fuzzwah
8962e288f4
fixed broken center align of image links (#3522) 2022-01-09 09:01:58 +00:00
Bruno Alla
ee92b4ea42
Update output example in README (#3512) 2022-01-06 10:28:33 +00:00
Bruno Alla
103dd82ea2
Convert top level RST files to Markdown (#3489) 2022-01-03 22:43:53 +00:00
Daniel Greenfeld
b24dc7259c Bring over a bunch of stuff from two scoops project 2013-08-14 20:01:41 +02:00
Daniel Greenfeld
14638a3615 Initial commit 2013-08-14 10:43:32 -07:00