Skip to content

Commit

Permalink
Merge pull request #327 from UW-GAC/dependabot/pip/django-crispy-form…
Browse files Browse the repository at this point in the history
…s-2.1

Bump django-crispy-forms from 1.14.0 to 2.1
  • Loading branch information
amstilp authored Dec 1, 2023
2 parents 7d80f85 + be975e3 commit 4691297
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,9 @@
FORM_RENDERER = "django.forms.renderers.TemplatesSetting"

# http://django-crispy-forms.readthedocs.io/en/latest/install.html#template-packs
CRISPY_TEMPLATE_PACK = "bootstrap4"
# https://github.com/django-crispy-forms/crispy-bootstrap5
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
CRISPY_TEMPLATE_PACK = "bootstrap5"

# FIXTURES
# ------------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions requirements/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ django-model-utils # https://github.com/jazzband/django-model-utils
django-allauth # https://github.com/pennersr/django-allauth
# Nicer forms.
django-crispy-forms # https://github.com/django-crispy-forms/django-crispy-forms
# Bootstrap5 templates for crispy-forms
crispy-bootstrap5 # https://github.com/django-crispy-forms/crispy-bootstrap5
# Protect all views behind LoginRequired by default.
django-login-required-middleware # https://github.com/CleitonDeLima/django-login-required-middleware
# Back up the database before migrations/updates.
Expand Down
7 changes: 5 additions & 2 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ charset-normalizer==2.0.12
click==8.1.3
# via pip-tools
crispy-bootstrap5==0.7
# via django-anvil-consortium-manager
# via
# -r requirements/requirements.in
# django-anvil-consortium-manager
cryptography==41.0.6
# via pyjwt
defusedxml==0.7.1
Expand All @@ -40,6 +42,7 @@ django==4.2.7
# crispy-bootstrap5
# django-allauth
# django-anvil-consortium-manager
# django-crispy-forms
# django-dbbackup
# django-extensions
# django-filter
Expand All @@ -51,7 +54,7 @@ django-anvil-consortium-manager @ git+https://github.com/UW-GAC/django-anvil-con
# via -r requirements/requirements.in
django-autocomplete-light==3.9.4
# via django-anvil-consortium-manager
django-crispy-forms==1.14.0
django-crispy-forms==2.1
# via
# -r requirements/requirements.in
# crispy-bootstrap5
Expand Down

0 comments on commit 4691297

Please sign in to comment.