summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-09-03Fixed #5330 -- Added a fixture file that was missing from [6039]. Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-03Removed some duplication in the Django `TestCase` methods by introducing a ↵Gary Wilson Jr
`to_list` function for putting a value into a list if it's not already one. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-03Fixed #5271 -- Fixed documentation reference to using the application name ↵Russell Keith-Magee
as an argument to manage.py validate. The recent management.py refactor exposed this error; it was silently ignored previously. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-03Fixed #4988 -- In the test client, Added tracking of the client and request ↵Russell Keith-Magee
that caused a response so that the assertRedirects check can use the correct client when following a redirect. Well spotted, alex@gc-web.de. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-03Fixed #5292 -- Changed CSRF middleware to check for request.method == 'POST' ↵Adrian Holovaty
instead of request.POST dictionary not being empty. Thanks, Jakub Wilk git-svn-id: http://code.djangoproject.com/svn/django/trunk@6038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-03Fixed #4923 -- Fixed error in docs/authentication.txt. Thanks, ↵Adrian Holovaty
djangotrac.20.skel@spamgourmet.org git-svn-id: http://code.djangoproject.com/svn/django/trunk@6037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-02Fixed #5263 -- Updated docstring for sqlite3 backend. Thanks, Paul BxAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-02Fixed #5303 -- Fixed incorrect statement about PythonPath directive in ↵Adrian Holovaty
docs/modpython.txt git-svn-id: http://code.djangoproject.com/svn/django/trunk@6034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-02Fixed #5318 -- Corrected typo in it_province localflavor. Thanks, ↵Adrian Holovaty
francescod.calabrese@tiscali.it git-svn-id: http://code.djangoproject.com/svn/django/trunk@6033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-02Fixed #5319 -- Changed terminal colors in django.core.management.colors not ↵Adrian Holovaty
to be used under Jython. Thanks, Marty Alchin git-svn-id: http://code.djangoproject.com/svn/django/trunk@6032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-31Fixed #4968 -- Added assertRedirects handling for paths with GET data. ↵Russell Keith-Magee
Thanks for the patch, Ivan Sagalaev. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-31Fixed #5307 -- startproject/startapp now makes sure all files it creates are ↵Adrian Holovaty
writeable. Thanks, Thomas Stromberg git-svn-id: http://code.djangoproject.com/svn/django/trunk@6028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-31Made negligible capitalization fix to docs/db-api.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-28Fixed #4457 -- Corrected the handling of exceptions in the test client when ↵Russell Keith-Magee
the 500.html template is not available. Thanks to Chris Wager <cw264701@ohiou.edu> for his help in tracking down this problem. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-27Changed 'validate' and 'runserver' management commands to display the number ↵Adrian Holovaty
of errors. This was previous behavior before the management.py refactoring git-svn-id: http://code.djangoproject.com/svn/django/trunk@6022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-26Fixed #5257 -- Fixed typo in tutorial from [6006]. Thanks, Collin Grady.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-26Fixed #3184 -- Changed the `unordered_list` template filter to use a more ↵Gary Wilson Jr
simple format, while maintaining backwards compatibility with the old format. `unordered_list` now works with a simple list of items. Thanks for the patch, SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Added note to docs/django-admin.txt section on 'testserver' that the server ↵Adrian Holovaty
does not detect changes to Python code git-svn-id: http://code.djangoproject.com/svn/django/trunk@6017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Fixed #348 -- Fixed bug in admin JavaScript filter interface. Thanks for the ↵Adrian Holovaty
patch, Gary Wilson git-svn-id: http://code.djangoproject.com/svn/django/trunk@6015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Fixed #5086 -- The 'flush' and 'sqlflush' management commands no longer ↵Adrian Holovaty
touch tables that Django is not aware of (tables that are not in INSTALLED_APPS and/or do not have associated models. Thanks for bringing this up, shaun@cuttshome.net git-svn-id: http://code.djangoproject.com/svn/django/trunk@6013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Changed postgresql and postgresql_psycopg2 backends NOT to do a SELECT ↵Adrian Holovaty
version() for every connection, which was ludicrous. Now the version is only retrieved if it needs to be, via a lazy loader. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Removed incorrect link that slipped in docs/db-api.txt in [6010]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Fixed #5068 -- Fixed error in docs/db-api.txt. Thanks, Collin Grady and ↵Adrian Holovaty
SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@6010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Fixed #5055 -- Changed Postgres DatabaseOperations.sql_flush() to use ↵Adrian Holovaty
'SELECT setval()' instead of 'ALTER SEQUENCE', because the latter only works with Postgres 7.3+. Thanks, Don Arbow git-svn-id: http://code.djangoproject.com/svn/django/trunk@6009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Fixed #5169 -- Fixed error in docs/settings.txt "404 errors" section. ↵Adrian Holovaty
Thanks, rokclimb15@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@6008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Fixed #5170 -- Made FileField a link in the ImageField section of ↵Adrian Holovaty
docs/model-api.txt -- assuming the ReST gods are smiling on me today git-svn-id: http://code.djangoproject.com/svn/django/trunk@6007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Fixed #5195 -- Added notes to docs/tutorial01.txt about max_length and ↵Adrian Holovaty
__unicode__() changes and 0.96 vs. development version. Thanks, ubernostrum git-svn-id: http://code.djangoproject.com/svn/django/trunk@6006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Fixed #5209 -- Removed link to outdated screencast in docs/faq.txt. Thanks, ↵Adrian Holovaty
Collin Grady git-svn-id: http://code.djangoproject.com/svn/django/trunk@6005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Fixed #5227 -- Made the redirect security check in ↵Adrian Holovaty
django.contrib.auth.views.login() tighter. Thanks, Sander Dijkhuis git-svn-id: http://code.djangoproject.com/svn/django/trunk@6004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Fixed #5256 -- Fixed incorrect use of super() in docs/newforms.txt example. ↵Adrian Holovaty
Thanks, trey@ktrl.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@6003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Fixed #5255 -- It's now possible again to use Django without a database. ↵Adrian Holovaty
This had temporarily gotten buggy after the django.core.management refactoring last week git-svn-id: http://code.djangoproject.com/svn/django/trunk@6002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25Fixed #5224 -- Corrected name of admin media option in management runserver ↵Russell Keith-Magee
command. Thanks for the report, alberto@ingparo.it. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-24Fixed #5237 -- Added an optional 'path' argument to get_svn_revision(). ↵Adrian Holovaty
Thanks, django@poelzi.org git-svn-id: http://code.djangoproject.com/svn/django/trunk@5995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-23Modified an svn:ignore property that was a little too specific.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-23Added svn:ignore property to some directories that were missing it.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-21Fixed breakage of test suite for Oracle by adding a null check.Matt Boersma
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-21Fixed #5215 -- Added Subversion revision number to Django version string. ↵Adrian Holovaty
Thanks for the patch, Deryck Hodge git-svn-id: http://code.djangoproject.com/svn/django/trunk@5990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-21Fixed #5221 -- Fixed typo in docs/testing.txt. Thanks, derelmAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20Fixed #4572 -- Added an example of form_for_instance usage in a full-fledged ↵Malcolm Tredinnick
view. Based on a patch from toddobryan@mac.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20Moved Ramiro Morales to the correct spot in the list.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20Fixed #3311 -- Added naturalday filter to contrib.humanize. Thanks, Jyrki ↵Malcolm Tredinnick
Pulliainen. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20Made various negligible formatting cleanups to the database backendsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20Refactored OPERATOR_MAPPING so that it exists as ↵Adrian Holovaty
django.db.connection.operators instead of django.db.backend.OPERATOR_MAPPING. Refs #5106 git-svn-id: http://code.djangoproject.com/svn/django/trunk@5982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20Changed backend create_test_db() and destroy_test_db() hooks NOT to take the ↵Adrian Holovaty
backend as an argument, as the backend as an object is going away git-svn-id: http://code.djangoproject.com/svn/django/trunk@5981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20Removed legacy django.db.backend import in sql_delete()Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20Simplified max_name_length() call in oracle database backendAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20Refactored get_drop_sequence() to DatabaseOperations.drop_sequence_sql(). ↵Adrian Holovaty
Refs #5106 git-svn-id: http://code.djangoproject.com/svn/django/trunk@5978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20Refactored get_field_cast_sql() to DatabaseOperations.field_cast_sql(). Refs ↵Adrian Holovaty
#5106 git-svn-id: http://code.djangoproject.com/svn/django/trunk@5977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20Refactored get_query_set_class() to DatabaseOperations.query_set_class(). ↵Adrian Holovaty
Also added BaseDatabaseFeatures.uses_custom_queryset. Refs #5106 git-svn-id: http://code.djangoproject.com/svn/django/trunk@5976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20Removed a bunch of legacy django.db.backend importsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5975 bcc190cf-cafb-0310-a4f2-bffc1f526a37