Skip to content

Commit

Permalink
install PILLOW & set config in settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BrilliantPhoenix2024 committed Jul 27, 2022
1 parent ddeb91e commit 1718437
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@
STATIC_URL = '/static/'
STATICFILES_DIRS = [str(BASE_DIR.joinpath('static'))]


# media files
MEDIA_URL = '/media/'
MEDIA_ROOT = str(BASE_DIR.joinpath('media'))



Expand Down
2 changes: 1 addition & 1 deletion templates/registration/password_reset_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<div class="d-flex justify-content-center mt-5" dir="rtl">
<div class="col-xl-3 col-lg-4 col-md-5 col-sm-5 col-xs-6 bg-white m-3 m-sm-5 border rounded px-4 pt-4 pb-3 shadow">
<form method="post">
<h3 class="text-center">بازیابی رمزعبور</h3>
{% csrf_token %}
<h3 class="text-center">بازیابی رمزعبور</h3>
{{ form|crispy }}
{# <div class="form-group">#}
{# <label for="emailAddress" class="m-2">ایمیل:</label>#}
Expand Down

0 comments on commit 1718437

Please sign in to comment.