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

2511 Commits

Author SHA1 Message Date
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
Boulder Sprinters
a642b4ada2 Add get_max_name_length() method to all backend/base.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 20:41:11 +00:00
Jacob Kaplan-Moss
5da24765c9 [boulder-oracle-sprint] fixed oracle creation types to be more sane (thanks, Mitch Smith)
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 20:39:19 +00:00
Jacob Kaplan-Moss
c7b4311864 [boulder-oracle-sprint] fixed bug in [3967]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 20:24:01 +00:00
Boulder Sprinters
6ab11188d5 Add a truncate_name method to shorten DB identifiers for Oracle
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 20:18:55 +00:00
Jacob Kaplan-Moss
23246ebd09 [boulder-oracle-sprint] created (empty) query.py for some to-be-determined QuerySet -> SQL string refactoring.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 20:14:39 +00:00
Jacob Kaplan-Moss
28c8871876 [boulder-oracle-sprint] trivial whitespace cleanup
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 20:12:23 +00:00
Jacob Kaplan-Moss
1f8e225d66 [boulder-oracle-sprint] oracle backend now uses "clob" for TextField
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 20:06:23 +00:00
Jacob Kaplan-Moss
3504a58b91 [boulder-oracle-sprint] removed some debugging statements from django.core.management
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 18:47:59 +00:00
Jacob Kaplan-Moss
f70998c1b8 [boulder-oracle-sprint] Cleaned up oracle backend somewhat:
* query format style conversion should now work
* removed hardcoded "print" statements
* uppercase quoted identifiers (which Oracle seems to require)

git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 18:38:39 +00:00