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 |
Malcolm Tredinnick
|
5832ca5b7f
|
Added appropriate svn properties to Polish localflavor code from [5936].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 10:16:57 +00:00 |
Malcolm Tredinnick
|
0a2337c9e3
|
Added links from any reference to the url template tag to the appropriate place in the template tag documentation. Fixed #5198.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 10:15:11 +00:00 |
Malcolm Tredinnick
|
79801f504f
|
Added a note that the development version supports named URL patterns in the url template tag.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 10:14:58 +00:00 |
Malcolm Tredinnick
|
cfd5b184fb
|
Clarified that urlize and urlizetrunc should only be applied to plain text. Refs #5202.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 08:50:51 +00:00 |
Malcolm Tredinnick
|
90c177f18e
|
Fixed #5200 -- Added Polish localflavor. Thanks, Slawek Mikula.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 07:38:39 +00:00 |
Malcolm Tredinnick
|
a901af5f58
|
Fixed #5155 -- Translated the model name (when available) in the Recent Actions log.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 05:40:47 +00:00 |
Malcolm Tredinnick
|
390e91db51
|
Tweaked the unset primary key check from [5933] to accommodate models created in the oldforms style. It's a backwards-compatibility hack that we can remove when oldforms go away. See #2160 for discussion. Fixed #5204, #2160. Refs #5102.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 03:23:31 +00:00 |
Malcolm Tredinnick
|
6ed780d796
|
Fixed #5102 -- Fixed model saving so that 0 can be used as a primary key value. Thanks, oggie rob.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5933 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-18 07:40:59 +00:00 |
Malcolm Tredinnick
|
8b115c7fb8
|
Fixed #5154 -- Minor wording tweak.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-18 06:52:05 +00:00 |
Malcolm Tredinnick
|
24081d9959
|
Fixed #5166 -- Fixed a validation problem in one of the examples. Thanks, o.ekanem@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-18 06:13:15 +00:00 |
Russell Keith-Magee
|
04c77db2c3
|
Rolled out [5923]-[5925] due to breaking call_command().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-18 05:58:59 +00:00 |
Malcolm Tredinnick
|
3b421398d0
|
Added svn:ignore *.pyc to a bunch of files under contrib. Fixed #5168.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5928 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-18 05:56:22 +00:00 |
Malcolm Tredinnick
|
3b9b87792a
|
Fixed #5187 -- Minor doc tweaks. Thanks, Daniel Hahler.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-18 05:43:38 +00:00 |
Russell Keith-Magee
|
d743ccbc4b
|
Added some initial documentation on adding customized commands to django-admin.py.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-18 05:10:31 +00:00 |