mirror of
https://github.com/django/django.git
synced 2024-11-19 07:54:07 +00:00
aaf77c1676
Thanks to Florian Apolloner for both the initial patch and his final push to get this fixed, to Dario Ocles for his great work on the admin templates and switching the admin_doc application to also use named URLs, to Mikko Hellsing for his comments and to Jannis and Julien for their review and design guidance. Fixes #15294. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
44 lines
966 B
JSON
44 lines
966 B
JSON
[
|
|
{
|
|
"pk": "delete",
|
|
"model": "admin_custom_urls.action",
|
|
"fields": {
|
|
"description": "Remove things."
|
|
}
|
|
},
|
|
{
|
|
"pk": "rename",
|
|
"model": "admin_custom_urls.action",
|
|
"fields": {
|
|
"description": "Gives things other names."
|
|
}
|
|
},
|
|
{
|
|
"pk": "add",
|
|
"model": "admin_custom_urls.action",
|
|
"fields": {
|
|
"description": "Add things."
|
|
}
|
|
},
|
|
{
|
|
"pk": "path/to/file/",
|
|
"model": "admin_custom_urls.action",
|
|
"fields": {
|
|
"description": "An action with '/' in its name."
|
|
}
|
|
},
|
|
{
|
|
"pk": "path/to/html/document.html",
|
|
"model": "admin_custom_urls.action",
|
|
"fields": {
|
|
"description": "An action with a name similar to a HTML doc path."
|
|
}
|
|
},
|
|
{
|
|
"pk": "javascript:alert('Hello world');\">Click here</a>",
|
|
"model": "admin_custom_urls.action",
|
|
"fields": {
|
|
"description": "An action with a name suspected of being a XSS attempt"
|
|
}
|
|
}
|
|
] |