Skip to content

Commit

Permalink
set FORM_RENDERER to django.forms.renderers.TemplatesSetting (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadavidthomas authored Feb 13, 2024
1 parent efbec78 commit f104b6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

- Minimum Copier version set to 9.1.0.
- `author_name` and `github_owner` in `copier.yml` now have inline validators to ensure they are not empty.
- `FORM_RENDERER` is now set to `django.forms.renderers.TemplatesSetting` by default.

### Changed

Expand Down
2 changes: 2 additions & 0 deletions src/django_twc_project/{{ module_name }}/settings.py.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ EMAIL_BACKEND = (
else "email_relay.backend.RelayDatabaseEmailBackend"
)

FORM_RENDERER = "django.forms.renderers.TemplatesSetting"

INSTALLED_APPS = [
# First Party
"{{ module_name }}.core",
Expand Down

0 comments on commit f104b6c

Please sign in to comment.