Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% load i18n %}{% autoescape off %}
- {% blocktrans %}You're receiving this email because you requested a password reset for your user account at {{ site_name }}.{% endblocktrans %}
- {% trans "Please go to the following page and choose a new password:" %}
- {% block reset_link %}
- {{ protocol }}://{{ domain }}{% url 'LifeOfReillyJohnApp:password_reset_confirm' uidb64=uid token=token %}
- {% endblock %}
- {% trans "Your username, in case you've forgotten:" %} {{ user.get_username }}
- {% trans "Thanks for using our site!" %}
- {% blocktrans %}The {{ site_name }} team{% endblocktrans %}
- {% endautoescape %}
- from django.urls import path, include
- from django.contrib.auth import views as auth_views
- from . import views
- app_name = "LifeOfReillyJohnApp"
- urlpatterns = [
- path("PassGen/", views.PassGen, name="PassGen"),
- path("FontGen/", views.FontGen, name="FontGen"),
- path("SignUp/", views.SignUp, name="SignUp"),
- path("LogOut/", views.LogOut, name="LogOut"),
- path("LogIn/", views.LogIn, name="LogIn"),
- path('password-reset/',
- auth_views.PasswordResetView.as_view(
- template_name='registration/password_reset.html'
- ),
- name='password_reset'),
- path('password-reset/done/',
- auth_views.PasswordResetDoneView.as_view(
- template_name='registration/password_reset_done.html'
- ),
- name='password_reset_done'),
- path('password-reset-confirm/<uidb64>/<token>/',
- auth_views.PasswordResetConfirmView.as_view(
- template_name='registration/password_reset_confirm.html',
- ),
- name='password_reset_confirm'),
- path('password-reset-complete/',
- auth_views.PasswordResetCompleteView.as_view(
- template_name='registration/password_reset_complete.html'
- ),
- name='password_reset_complete'),
- path("", views.home, name="home"),
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement