21 lines
383 B
Plaintext
21 lines
383 B
Plaintext
![]() |
include::../description.adoc[]
|
||
|
|
||
|
include::../ask-yourself.adoc[]
|
||
|
|
||
|
include::../recommended.adoc[]
|
||
|
|
||
|
== Sensitive Code Example
|
||
|
|
||
|
Django endpoint declaration
|
||
|
----
|
||
|
from django.urls import path, re_path
|
||
|
|
||
|
def declare_views(views):
|
||
|
return [
|
||
|
path('', views['index']), # Sensitive
|
||
|
re_path(r'^about/[0-9]*/$', views['about']), # Sensitive
|
||
|
]
|
||
|
----
|
||
|
|
||
|
include::../see.adoc[]
|