File: urls.py

package info (click to toggle)
django-qr-code 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,108 kB
  • sloc: python: 3,914; sh: 107; makefile: 20
file content (12 lines) | stat: -rw-r--r-- 286 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
from django.conf import settings
from django.urls import path

from qr_code import views


app_name = "qr_code"
urlpatterns = [
    path(
        getattr(settings, "SERVE_QR_CODE_IMAGE_PATH", "images/serve-qr-code-image/"), views.serve_qr_code_image, name="serve_qr_code_image"
    )
]