mirror of
https://github.com/django/django.git
synced 2025-07-03 17:29:12 +00:00
====================================================================== ERROR: Test add view restricts access and actually adds items. ---------------------------------------------------------------------- Traceback (most recent call last): File ".../tests/regressiontests/admin_views/tests.py", line 178, in testAddView post = self.client.post('/test_admin/admin/admin_views/article/add/', self.super_login) File ".../django/test/client.py", line 265, in post return self.request(**r) File ".../django/core/handlers/base.py", line 82, in get_response response = callback(request, *callback_args, **callback_kwargs) File ".../django/contrib/admin/sites.py", line 113, in root response = self.login(request) File ".../django/views/decorators/cache.py", line 45, in _wrapped_view_func add_never_cache_headers(response) File ".../django/utils/cache.py", line 118, in add_never_cache_headers patch_response_headers(response, cache_timeout=-1) File ".../django/utils/cache.py", line 106, in patch_response_headers if not response.has_header('ETag'): AttributeError: 'NoneType' object has no attribute 'has_header' git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. All documentation is in the "docs" directory and online at http://www.djangoproject.com/documentation/. If you're just getting started, here's how we recommend you read the docs: * First, read docs/install.txt for instructions on installing Django. * Next, work through the tutorials in order (docs/tutorial01.txt, docs/tutorial02.txt, etc.). * If you want to set up an actual deployment server, read docs/modpython.txt for instructions on running Django under mod_python. * The rest of the documentation is of the reference-manual variety. Read it -- and the FAQ -- as you run into problems. Docs are updated rigorously. If you find any problems in the docs, or think they should be clarified in any way, please take 30 seconds to fill out a ticket here: http://code.djangoproject.com/newticket To get more help: * Join the #django channel on irc.freenode.net. Lots of helpful people hang out there. Read the archives at http://simon.bofh.ms/logger/django/ . * Join the django-users mailing list, or read the archives, at http://groups.google.com/group/django-users. To contribute to Django: * Check out http://www.djangoproject.com/community/ for information about getting involved.