Skip to content

Commit

Permalink
chore(deps): bump django from 4.1.7 to 4.2 in /appcontainer (#1345)
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Apr 6, 2023
2 parents e1ac23b + 080b18a commit 5d813d8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion appcontainer/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Authlib==1.2.0
Django==4.1.7
Django==4.2
django-csp==3.7
eligibility-api==2023.01.1
requests==2.28.2
Expand Down
2 changes: 1 addition & 1 deletion benefits/enrollment/templates/enrollment/success.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h1 class="pb-lg-8 pb-4">{{ page.headline }}</h1>
{% endblock inner-content %}

{% block call-to-action %}
{% if page.buttons|length_is:"1" %}
{% if page.buttons|length == 1 %}
<div class="row d-flex justify-content-lg-center flex-lg-row">
<div class="col-9 col-lg-10 d-flex justify-content-end logout-paragraph">
<p>
Expand Down
10 changes: 7 additions & 3 deletions benefits/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,13 @@ def _filter_empty(ls):
STATIC_URL = "/static/"
STATICFILES_DIRS = [os.path.join(BASE_DIR, "benefits", "static")]
# use Manifest Static Files Storage by default
STATICFILES_STORAGE = os.environ.get(
"DJANGO_STATICFILES_STORAGE", "django.contrib.staticfiles.storage.ManifestStaticFilesStorage"
)
STORAGES = {
"staticfiles": {
"BACKEND": os.environ.get(
"DJANGO_STATICFILES_STORAGE", "django.contrib.staticfiles.storage.ManifestStaticFilesStorage"
)
}
}
STATIC_ROOT = os.path.join(BASE_DIR, "static")

# Logging configuration
Expand Down

0 comments on commit 5d813d8

Please sign in to comment.