Russell Keith-Magee
|
22ae4eda8e
|
Added svn:ignore property to some directories that were missing it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-23 11:33:26 +00:00 |
|
Matt Boersma
|
377fe7ce77
|
Fixed breakage of test suite for Oracle by adding a null check.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-21 17:06:06 +00:00 |
|
Adrian Holovaty
|
a1e26b0105
|
Fixed #5215 -- Added Subversion revision number to Django version string. Thanks for the patch, Deryck Hodge
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-21 03:08:02 +00:00 |
|
Adrian Holovaty
|
a3a07af910
|
Fixed #5221 -- Fixed typo in docs/testing.txt. Thanks, derelm
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-21 02:35:01 +00:00 |
|
Malcolm Tredinnick
|
c06524bc2d
|
Fixed #4572 -- Added an example of form_for_instance usage in a full-fledged 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-20 14:15:40 +00:00 |
|
Malcolm Tredinnick
|
46ec6b3402
|
Moved Ramiro Morales to the correct spot in the list.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 14:15:23 +00:00 |
|
Malcolm Tredinnick
|
14b5e074ba
|
Fixed #3311 -- Added naturalday filter to contrib.humanize. Thanks, Jyrki Pulliainen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 08:50:08 +00:00 |
|
Adrian Holovaty
|
b367ec2244
|
Made various negligible formatting cleanups to the database backends
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 03:32:06 +00:00 |
|
Adrian Holovaty
|
14db37319b
|
Refactored OPERATOR_MAPPING so that it exists as 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-20 03:26:55 +00:00 |
|
Adrian Holovaty
|
b3912d3609
|
Changed backend create_test_db() and destroy_test_db() hooks NOT to take the 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-20 03:16:55 +00:00 |
|
Adrian Holovaty
|
f0decc18cf
|
Removed legacy django.db.backend import in sql_delete()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 03:13:03 +00:00 |
|
Adrian Holovaty
|
e267bec83a
|
Simplified max_name_length() call in oracle database backend
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 03:10:20 +00:00 |
|
Adrian Holovaty
|
b105a52882
|
Refactored get_drop_sequence() to DatabaseOperations.drop_sequence_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 03:08:32 +00:00 |
|
Adrian Holovaty
|
4c5248f98f
|
Refactored get_field_cast_sql() to DatabaseOperations.field_cast_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 03:03:40 +00:00 |
|
Adrian Holovaty
|
e13ea3c70d
|
Refactored get_query_set_class() to DatabaseOperations.query_set_class(). 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-20 02:39:05 +00:00 |
|
Adrian Holovaty
|
6d8e6090e5
|
Removed a bunch of legacy django.db.backend imports
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 02:28:40 +00:00 |
|
Adrian Holovaty
|
1a8f9b2b97
|
Implemented BaseDatabaseFeatures and changed all code to access it -- connection.features.foo instead of backend.foo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 02:20:33 +00:00 |
|
Adrian Holovaty
|
4f82250512
|
Removed unneeded import from postgresql_psycopg2/base.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 01:30:11 +00:00 |
|
Adrian Holovaty
|
f4b397087c
|
Moved postgresql backend DatabaseOperations class into a new module, postgresql/operations.py, so that it can be imported by both the postgresql and postgresql_psycopg2 backends. Hence the two backends no longer have a duplicated DatabaseOperations class
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 01:26:46 +00:00 |
|
Adrian Holovaty
|
c2c3e93096
|
Removed _dict_helper() DB backend helper function, as it wasn't being used anymore
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 01:15:32 +00:00 |
|
Adrian Holovaty
|
a6a5e3cf32
|
Removed backend.dictfetchall(), as it wasn't being used anywhere
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 01:14:53 +00:00 |
|
Adrian Holovaty
|
ba49e7be08
|
Removed backend.dictfetchmany(), as it wasn't being used anywhere
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 01:14:03 +00:00 |
|
Adrian Holovaty
|
1b4cfd4fea
|
Removed backend.dictfetchone(), as it wasn't being used anywhere
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 01:13:12 +00:00 |
|
Adrian Holovaty
|
221f99ed58
|
Refactored quote_name() to DatabaseOperations.quote_name(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 01:03:33 +00:00 |
|
Adrian Holovaty
|
d4f218bd91
|
Refactored get_tablespace_sql() to DatabaseOperations.tablespace_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 00:30:19 +00:00 |
|
Adrian Holovaty
|
13061bf20b
|
Refactored get_start_transaction_sql() to DatabaseOperations.start_transaction_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 00:24:03 +00:00 |
|
Adrian Holovaty
|
147e99a08a
|
Refactored get_sql_sequence_reset() to DatabaseOperations.sequence_reset_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 00:21:10 +00:00 |
|
Adrian Holovaty
|
aaed6e04ec
|
Refactored get_sql_flush() to DatabaseOperations.sql_flush(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 00:15:53 +00:00 |
|
Adrian Holovaty
|
c44fb66551
|
Refactored get_random_function_sql() to DatabaseOperations.random_function_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5962 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 00:04:20 +00:00 |
|
Adrian Holovaty
|
aaf8760227
|
Refactored get_pk_default_value() to DatabaseOperations.pk_default_value(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 23:59:06 +00:00 |
|
Adrian Holovaty
|
e4b7e369dd
|
Refactored get_max_name_length() to DatabaseOperations.max_name_length(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 23:53:39 +00:00 |
|
Adrian Holovaty
|
d3e69c3a47
|
Refactored get_limit_offset_sql() to DatabaseOperations.limit_offset_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 23:24:59 +00:00 |
|
Adrian Holovaty
|
5ce050a5f5
|
Refactored get_last_insert_id() to DatabaseOperations.last_insert_id(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 23:18:43 +00:00 |
|
Adrian Holovaty
|
5a6426448f
|
Refactored get_fulltext_search_sql() to DatabaseOperations.fulltext_search_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 23:13:06 +00:00 |
|
Adrian Holovaty
|
23a736dca9
|
Refactored get_drop_foreignkey_sql() to DatabaseOperations.drop_foreignkey_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 23:07:34 +00:00 |
|
Adrian Holovaty
|
8e84d35d38
|
Refactored get_deferrable_sql() to DatabaseOperations.deferrable_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 23:03:38 +00:00 |
|
Adrian Holovaty
|
ed8e392f77
|
Added extra documentation to BaseDatabaseOperations.datetime_cast_sql() docstring
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 22:57:08 +00:00 |
|
Adrian Holovaty
|
29f67dce9e
|
Refactored get_datetime_cast_sql() to DatabaseOperations.datetime_cast_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 22:55:05 +00:00 |
|
Adrian Holovaty
|
5f51f0524a
|
Refactored get_date_trunc_sql() to DatabaseOperations.date_trunc_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 22:47:43 +00:00 |
|
Adrian Holovaty
|
aab04a4c2f
|
Refactored get_date_extract_sql() to DatabaseOperations.date_extract_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 22:40:06 +00:00 |
|
Adrian Holovaty
|
38b5d7f23d
|
Began implementing BaseDatabaseOperations class for every database backend. This class will be used to hold the database-specific methods that currently live at the module level in each backend. Only autoinc_sql() has been implemented so far.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 22:29:57 +00:00 |
|
Adrian Holovaty
|
7c41b19c8a
|
Refactored all database backends to inherit from a common base class to remove quite a bit of duplicated code. Thanks for the patch, Brian Harring. Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 21:30:57 +00:00 |
|
Adrian Holovaty
|
77a9b0cb1d
|
Edited docs/templates.txt change from [5938]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 21:02:36 +00:00 |
|
Malcolm Tredinnick
|
8d97f15b96
|
Fixed #4125 -- Added some small fixes to contrib.databrowse: fixed calendar views, added a summary of the number of objects in each list, and added a template entry point for the customisation enthusiasts. Nice work, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 17:01:54 +00:00 |
|
Malcolm Tredinnick
|
0a49719e7a
|
Used the url() function when adding a named URL pattern, mostly as an example of good practice and to introduce the function. Fixed #4908 (although it wasn't a bug).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 15:08:48 +00:00 |
|
Malcolm Tredinnick
|
d1892edc9f
|
Added documentation of the arguments for the url() function.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 15:08:21 +00:00 |
|
Malcolm Tredinnick
|
3c89a32e52
|
Fixed #5197 -- Updated Spanish translation. Thanks, Mario Gonzalez.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 14:06:54 +00:00 |
|
Malcolm Tredinnick
|
7e8efcd4d9
|
Fixed #5087 -- Fixed support for TextField filtering with Oracle. Thanks, Ian Kelly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 12:37:00 +00:00 |
|
Malcolm Tredinnick
|
e0c1ca7ef0
|
Fixed #5180 -- Added man pages for remaining files under django/bin/. We still need to rename some binaries before they can be safely installed, I suspect, so these aren't installed by default yet, but the groundwork is there now. Excellent job, Nick Efford!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 11:59:20 +00:00 |
|
Malcolm Tredinnick
|
4d42dc3846
|
Changed the URL reference for timezone specifications. It looks like PostgreSQL is removing that list from their docs (in 8.2) and this might also help avoid problems with people not noticing there are multiple entries per line in the current PostgreSQL docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 10:24:35 +00:00 |
|