Skip to content

Commit

Permalink
Fix form issues
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfischer committed Aug 22, 2023
1 parent 964eca3 commit 41627f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"allauth.account",
"allauth.socialaccount",
"crispy_forms",
"crispy_bootstrap4",
"rest_framework",
"rest_framework.authtoken",
"adserver",
Expand Down Expand Up @@ -346,7 +347,9 @@

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


Expand Down
3 changes: 2 additions & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ djangorestframework-jsonp==1.0.2
django-extensions==3.1.5

# Form helpers
django-crispy-forms==1.9.0
crispy-bootstrap4==2022.1
django-crispy-forms==2.0

# Authentication
django-allauth==0.49.0
Expand Down

0 comments on commit 41627f6

Please sign in to comment.