1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

2470 Commits

Author SHA1 Message Date
Boulder Sprinters
525f81d091 boulder-oracle-sprint: Fixed Oracle limit-offset logic and many_to_one test
case.


git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-16 16:25:59 +00:00
Boulder Sprinters
19773e0d70 boulder-oracle-sprint: Merged to [4065]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-13 00:25:50 +00:00
Boulder Sprinters
2ef60b546b boulder-oracle-sprint: Changed Oracle CLOB to NCLOB for i18n.
Fixed Oracle backend's get_date_trunc_sql() function.


git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-10 17:16:45 +00:00
Boulder Sprinters
b47c350b56 [boulder-oracle-sprint] Oracle "inspectdb" runs, thanks to Mitchell Smith for the hairy SQL needed
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-06 16:22:02 +00:00
Boulder Sprinters
53222ce9a1 [boulder-oracle-sprint] Oracle passes most of runtests.py now.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-06 07:38:57 +00:00
Boulder Sprinters
9acae362cf [boulder-oracle-sprint] Refactoring to move some oracle conditional code
into the backend


git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-05 18:01:25 +00:00
Boulder Sprinters
f2b6570db1 [boulder-oracle-sprint] Fix indentation level on yield statement.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-05 07:46:30 +00:00
Adrian Holovaty
afcb877128 boulder-oracle-sprint: Made negligible coding style changes
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-05 04:53:47 +00:00
Jacob Kaplan-Moss
20a30ff32c [boulder-oracle-sprint] fixed m2m creation bug with oracle: management was trying to create m2m triggers for generic relations. mmmmm.... indentation.....
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-05 01:28:59 +00:00
Boulder Sprinters
48507721aa [BoulderSprint] forgot to call function
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-05 01:23:14 +00:00
Boulder Sprinters
93bfe7f18e truncate_name if needed
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-05 01:22:06 +00:00
Boulder Sprinters
2245b599a7 [BoulderSprint] ensure default table names aren't too long
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-05 01:02:13 +00:00
Boulder Sprinters
6267678653 [boulder-oracle-sprint] fixed bug to drop tablespace <user>_temp
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-05 00:59:57 +00:00
Boulder Sprinters
e72e040102 [boulder-oracle-sprint] fixed trigger names with truncate_name
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-05 00:30:43 +00:00
Boulder Sprinters
86b9b25fb3 [boulder-oracle-sprint] fixed m2m sequence names
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-05 00:28:01 +00:00
Boulder Sprinters
abd5b14d6f [boulder-oracle-sprint] fixed the *other* occurrence of oracle create sequence code with truncate_name
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-05 00:26:17 +00:00
Boulder Sprinters
58f0b44c74 [boulder-oracle-sprint] Truncate sequence names with truncate_name
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-05 00:22:01 +00:00
Boulder Sprinters
125cd04d2b [boulder-oracle-sprint] fix user and password for reconnection to test database
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-05 00:15:04 +00:00
Boulder Sprinters
a12bdeb445 [boulder-oracle-sprint] Avoided string conversion for DateTimeField in oracle
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-05 00:13:09 +00:00
Boulder Sprinters
8b1f56d06b Specialized iterator() so that it can resolve CLOBs. Also avoids the unnecessary usage of fetchmany(), buffering is handled nicely in the Oracle client itself.
Note this code is not yet tested, we are dependent on Matt Boersma's forthcoming commit.

git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 23:54:12 +00:00
Boulder Sprinters
f412ebde1c [boulder-oracle-sprint] no spaces in the password
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 23:53:08 +00:00
Boulder Sprinters
05024929cf [boulder-oracle-sprint] remove backend.quote_name()
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 23:50:02 +00:00
Boulder Sprinters
955424507b inspectdb is halfway there...
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 23:44:18 +00:00
Boulder Sprinters
1898c6baa7 [boulder-oracle-sprint] fix quoting for tempfile
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 23:42:31 +00:00
Boulder Sprinters
c4e56c225a [boulder-oracle-sprint] missed a comma
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 23:38:39 +00:00
Boulder Sprinters
b8431e359b [boulder-oracle-sprint] move backend.quote_name to fix quoting
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 23:34:18 +00:00
Jacob Kaplan-Moss
b93cd82297 [boulder-oracle-sprint] added logic to load a custom QuerySet class from the database backend, if defined. Also added a skeletal Oracle QuerySet.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 23:30:27 +00:00
Jacob Kaplan-Moss
3e1197f82e [boulder-oracle-sprint] slightly refactored django.db.get_*_module functions.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 23:29:35 +00:00
Boulder Sprinters
2651cf0c7c [boulder-oracle-sprint] add trace for dbname
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 23:19:03 +00:00
Boulder Sprinters
6c0c0bd331 [boulder-oracle-sprint] need to include verbosity in arguments for _create_test_db
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3997 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 22:54:31 +00:00
Boulder Sprinters
e93ca9f6bd [boulder-oracle-sprint] pass verbosity to subroutines
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3996 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 22:53:18 +00:00
Jacob Kaplan-Moss
731e2e60cd [boulder-oracle-sprint] added two stupidly missing "return" statements to create/destroy test DB functions.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 22:51:28 +00:00
Boulder Sprinters
a7a47017b9 [boulder-oracle-sprint] _test_database_name must return the name
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 22:49:57 +00:00
Boulder Sprinters
675f0df471 Add missing import
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 22:48:00 +00:00
Jacob Kaplan-Moss
fcf3cd39eb [boulder-oracle-sprint] fixed django.test.utils test db creation method delegation to match new API from [3991]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 22:42:33 +00:00
Boulder Sprinters
6131a839da [boulder-oracle-sprint] adding initial functions for test database creation and destruction
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 22:38:49 +00:00
Boulder Sprinters
39fd198ddd [boulder-oracle-sprint] Replaced Oracle-specific LIMIT 1 for existence test with a generic SELECT COUNT(*)
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 22:19:44 +00:00
Jacob Kaplan-Moss
e715476a9f [boulder-oracle-sprint] more management.py fixes to case-insensitive database backends (i.e. Oracle)
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 21:42:37 +00:00
Boulder Sprinters
c5a75d2069 Fix stupid previous checkin
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 21:28:47 +00:00
Jacob Kaplan-Moss
c36159c6d9 [boulder-oracle-sprint] management._get_installed_models() now handles case-insensitive database backends
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 21:20:15 +00:00
Boulder Sprinters
db70944e65 [boulder-oracle-sprint] Added max name length of 64 to MySQL
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 21:19:06 +00:00
Boulder Sprinters
2141ee605f MySQL mangling is redundant now with truncate_name
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 21:18:20 +00:00
Jacob Kaplan-Moss
83f930332b [boulder-oracle-sprint] django.test.utils now delegates to the backend for test database creation/deletion, if required
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 21:16:23 +00:00
Boulder Sprinters
7a8965a3a1 [boulder-oracle-sprint] Added truncate_name to CREATE INDEX code
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 21:05:35 +00:00
Boulder Sprinters
3db5a64a6c >= 1, not 0
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 21:03:10 +00:00
Jacob Kaplan-Moss
86b15c609c [boulder-oracle-sprint] added uses_case_insensitive_names setting to database backends
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 21:02:27 +00:00
Boulder Sprinters
36d057c902 Fix typo
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 21:00:58 +00:00
Jacob Kaplan-Moss
e5007b3942 [boulder-oracle-sprint] fixed oracle get_table_list() to upper-case table names.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 20:52:08 +00:00
Jacob Kaplan-Moss
4d8a0482c6 [boulder-oracle-sprint] made a small idiomatic change to oracle base.py (thanks, cramm)
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 20:47:07 +00:00
Boulder Sprinters
b543ef9bf1 [boulder-oracle-sprint] Added truncate_name to ADD CONSTRAINT code
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 20:43:43 +00:00