diff options
| author | Tim Graham <timograham@gmail.com> | 2013-10-10 16:42:30 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-10 16:49:20 -0400 |
| commit | 1dae4ac1778f04805c0ed62c8debb13b281ba02b (patch) | |
| tree | 5105833792cc07336de819effb1c9dccdbc0c76e /tests/admin_custom_urls | |
| parent | ca874b2fe6f768bd042b859d7eba622a68e9f9dd (diff) | |
Whitespace cleanup.
* Removed trailing whitespace.
* Added newline to EOF if missing.
* Removed blank lines at EOF.
* Removed some stray tabs.
Diffstat (limited to 'tests/admin_custom_urls')
| -rw-r--r-- | tests/admin_custom_urls/fixtures/actions.json | 34 | ||||
| -rw-r--r-- | tests/admin_custom_urls/urls.py | 1 |
2 files changed, 17 insertions, 18 deletions
diff --git a/tests/admin_custom_urls/fixtures/actions.json b/tests/admin_custom_urls/fixtures/actions.json index 7c6341d71d..7eda3a3ab0 100644 --- a/tests/admin_custom_urls/fixtures/actions.json +++ b/tests/admin_custom_urls/fixtures/actions.json @@ -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" } diff --git a/tests/admin_custom_urls/urls.py b/tests/admin_custom_urls/urls.py index 478390737d..5fe9ca89fb 100644 --- a/tests/admin_custom_urls/urls.py +++ b/tests/admin_custom_urls/urls.py @@ -5,4 +5,3 @@ from django.contrib import admin urlpatterns = patterns('', (r'^admin/', include(admin.site.urls)), ) - |
