diff --git a/config/settings.py b/config/settings.py index 233162c..8006282 100644 --- a/config/settings.py +++ b/config/settings.py @@ -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')) diff --git a/templates/registration/password_reset_form.html b/templates/registration/password_reset_form.html index 080b332..d1a82aa 100644 --- a/templates/registration/password_reset_form.html +++ b/templates/registration/password_reset_form.html @@ -14,8 +14,8 @@
-

بازیابی رمزعبور

{% csrf_token %} +

بازیابی رمزعبور

{{ form|crispy }} {#
#} {# #}