diff options
author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-07-01 15:10:51 +0000 |
---|---|---|
committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-07-01 15:10:51 +0000 |
commit | d725cc9734272f867d41f7236235c28b3931a1b2 (patch) | |
tree | ccb7a786eaf4f39040990aadb520863b9a4dda99 /tests/urls.py | |
parent | ef76102e899b5dcfbfb2db97ce066f1dee6c0032 (diff) | |
download | django-d725cc9734272f867d41f7236235c28b3931a1b2.tar.gz |
Fixed #2070: refactored Django's file upload capabilities.
A description of the new features can be found in the new [http://www.djangoproject.com/documentation/upload_handing/ upload handling documentation]; the executive summary is that Django will now happily handle uploads of large files without issues.
This changes the representation of uploaded files from dictionaries to bona fide objects; see BackwardsIncompatibleChanges for details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/urls.py')
-rw-r--r-- | tests/urls.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/urls.py b/tests/urls.py index dbdf9a8064..cea453ef37 100644 --- a/tests/urls.py +++ b/tests/urls.py @@ -5,6 +5,9 @@ urlpatterns = patterns('', (r'^test_client/', include('modeltests.test_client.urls')), (r'^test_client_regress/', include('regressiontests.test_client_regress.urls')), + # File upload test views + (r'^file_uploads/', include('regressiontests.file_uploads.urls')), + # Always provide the auth system login and logout views (r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'login.html'}), (r'^accounts/logout/$', 'django.contrib.auth.views.logout'), |