Kagee

Untitled

Apr 12th, 2023
680
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.79 KB | None | 0 0
  1. TEMPLATES: List[Dict[str, Any]] = [
  2.     {
  3.         "BACKEND": "django.template.backends.jinja2.Jinja2",
  4.         "DIRS": [
  5.             (Path(BASE_DIR, "templates")),
  6.         ],
  7.         "APP_DIRS": True,
  8.         "OPTIONS": {},
  9.     },
  10.     {
  11.         "BACKEND": "django.template.backends.django.DjangoTemplates",
  12.         "DIRS": [
  13.             "venv/lib/python3.10/site-packages/django/contrib/admin/templates"
  14.         ],
  15.         "APP_DIRS": False,
  16.         "OPTIONS": {
  17.             "context_processors": [
  18.                 "django.template.context_processors.debug",
  19.                 "django.template.context_processors.request",
  20.                 "django.contrib.auth.context_processors.auth",
  21.                 "django.contrib.messages.context_processors.messages",
  22.             ],
  23.         },
  24.     },
  25. ]
Advertisement
Add Comment
Please, Sign In to add comment