File: urls.py

package info (click to toggle)
django-templated-email 3.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 200 kB
  • sloc: python: 389; makefile: 4
file content (8 lines) | stat: -rw-r--r-- 264 bytes parent folder | download
1
2
3
4
5
6
7
8
from django.urls import re_path

from templated_email.views import ShowEmailView

app_name = 'templated_email'
urlpatterns = [
    re_path(r'^email/(?P<uuid>([a-f\d]{32})|([a-f\d]{8}(-[a-f\d]{4}){3}-[a-f\d]{12}))/$', ShowEmailView.as_view(), name='show_email'),
]