mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Whitespace cleanup.
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
This commit is contained in:
parent
ca874b2fe6
commit
1dae4ac177
173 changed files with 602 additions and 678 deletions
|
@ -1,42 +1,42 @@
|
|||
[
|
||||
{
|
||||
"pk": "delete",
|
||||
"model": "admin_custom_urls.action",
|
||||
"pk": "delete",
|
||||
"model": "admin_custom_urls.action",
|
||||
"fields": {
|
||||
"description": "Remove things."
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": "rename",
|
||||
"model": "admin_custom_urls.action",
|
||||
"pk": "rename",
|
||||
"model": "admin_custom_urls.action",
|
||||
"fields": {
|
||||
"description": "Gives things other names."
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": "add",
|
||||
"model": "admin_custom_urls.action",
|
||||
"pk": "add",
|
||||
"model": "admin_custom_urls.action",
|
||||
"fields": {
|
||||
"description": "Add things."
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"pk": "path/to/file/",
|
||||
"model": "admin_custom_urls.action",
|
||||
"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",
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
|
|
|
@ -5,4 +5,3 @@ from django.contrib import admin
|
|||
urlpatterns = patterns('',
|
||||
(r'^admin/', include(admin.site.urls)),
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue