1
0
mirror of https://github.com/django/django.git synced 2025-10-25 22:56:12 +00:00
Commit Graph

191 Commits

Author SHA1 Message Date
Boulder Sprinters
97ccb9304e boulder-oracle-sprint: Merged to [5306]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 16:50:14 +00:00
Boulder Sprinters
151426692e boulder-oracle-sprint: Merged to [5245]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15 16:03:18 +00:00
Boulder Sprinters
c53378eb4b boulder-oracle-sprint: Merged to [5234]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 15:58:54 +00:00
Boulder Sprinters
7f13278f86 boulder-oracle-sprint: Merged to [5173]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 17:46:05 +00:00
Boulder Sprinters
750d2e8c3c boulder-oracle-sprint: Fixed sqlclear trying to drop sequences for
tables without AutoFields.  Fixed output of sql, sqlall, sqlreset, and 
sqlflush for piping to SQL*Plus.


git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-02 16:30:00 +00:00
Boulder Sprinters
90740c93e6 boulder-oracle-sprint: Merged to [5134]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-01 15:33:10 +00:00
Boulder Sprinters
3b479bfc56 boulder-oracle-sprint: Merged to [5113]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27 20:21:28 +00:00
Boulder Sprinters
d0213969c2 boulder-oracle-sprint: Merged to [5099]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 20:45:53 +00:00
Boulder Sprinters
557a0d407c boulder-oracle-sprint: Renamed the "tablespace" options to "db_tablespace".
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-19 21:17:29 +00:00
Boulder Sprinters
0e53925f7d boulder-oracle-sprint: Added Oracle DROP SEQUENCE emission to the sqlclear command.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-18 23:23:50 +00:00
Boulder Sprinters
04af379c70 boulder-oracle-sprint: Fixed #4056: Added optional "tablespace" parameter to Fields to specify a tablespace for the column's index in backends that support it, primarily for use in Oracle.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-18 22:40:53 +00:00
Boulder Sprinters
e558b9aac4 boulder-oracle-sprint: Fixes #4055: Added "tablespace" parameter to model metadata options to support specification of tablespaces, primarily for Oracle.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-17 23:22:49 +00:00
Boulder Sprinters
8ceeb6d8cb boulder-oracle-sprint: Merged to [4989]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 23:39:40 +00:00
Boulder Sprinters
5bcf13b607 boulder-oracle-sprint: Fixed #3743 by not creating another index when
the column is a PK and the backend is Oracle.


git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03 21:59:56 +00:00
Boulder Sprinters
61c3c5bc7f boulder-oracle-sprint: Fixed DATA_TYPES_REVERSE to use cx_Oracle type
objects as keys.  Introspection works much better now.


git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-29 21:33:36 +00:00
Boulder Sprinters
1f3fc7bc9f boulder-oracle-sprint: Merged to [4839], part two.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-28 21:30:05 +00:00
Boulder Sprinters
4a4417787b boulder-oracle-sprint: Return DebugCursorWrapper if DEBUG == True like other
backends.  Return None rather than empty string for get_transaction_start_sql 
to conform with other similar methods.


git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4776 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-22 17:10:16 +00:00
Boulder Sprinters
1bb9c6ffb4 boulder-oracle-sprint: Defer import of backend so django-admin.py doesn't break.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-21 22:27:24 +00:00
Boulder Sprinters
c62feba2a3 boulder-oracle-sprint: Call each backend for its version of "BEGIN;" to start
a transaction.  Previously, Oracle saw the output of "./manage.py 
sqlall" as starting a PL/SQL function definition.


git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20 20:11:04 +00:00
Boulder Sprinters
945c4ddf24 Fixed sequence naming bug. 93 of 100 tests pass now.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-16 04:58:36 +00:00
Boulder Sprinters
e1d2422cfd boulder-oracle-sprint: Fixed #3053. Zoltan Arokszallasi contributed several
important patches.  Thanks!

Also made Oracle test DB more generous, since we were 
hitting INTIAL EXTENT errors trying to run the whole test suite.


git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-14 20:37:03 +00:00
Boulder Sprinters
ca343fc0ac boulder-oracle-sprint: Merged rest of package to trunk [4719]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-13 15:40:41 +00:00
Boulder Sprinters
0b7dd14d1f boulder-oracle-sprint: Merged to trunk [4692].
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09 17:43:46 +00:00
Boulder Sprinters
e17f755514 boulder-oracle-sprint: Merged to trunk [4455].
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-02 17:35:55 +00:00
Boulder Sprinters
1b0d6b942c boulder-oracle-sprint: Refactored all Oracle references outside django.db into the
backend.


git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-17 06:20:35 +00:00
Boulder Sprinters
fb3a93975f boulder-oracle-sprint: Fixed "Identifier too long" errors and problems with sequence and trigger naming.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-16 19:11:32 +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
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
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
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
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
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
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
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
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
Boulder Sprinters
5e8d740caa [boulder-oracle-sprint] Applied Oracle patch
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 18:07:10 +00:00
Adrian Holovaty
41d11a685f Fixed #2968 -- Changed arguments to __import__ to use empty dictionary instead of empty string, for stricter compliance with Python library reference. Thanks for the patch, Yasushi Masuda
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-30 20:50:27 +00:00
Adrian Holovaty
4baeadb9a2 Fixed #2956 -- Made 'django-admin.py startproject' tolerant of filesystem arrangements that cannot accept file-permission changes. Thanks for the patch, masonsimon+django@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-27 02:19:32 +00:00
Adrian Holovaty
3536f89108 Fixed #2932 -- Added more details to the warning message in 'manage.py reset'. Thanks for the patch, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24 22:21:55 +00:00
Russell Keith-Magee
afd9b87711 Fixed problem with debug message arguments.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-09 05:55:04 +00:00
Russell Keith-Magee
8f91717c82 Modified sql_index function names to match pattern established by initial_data functions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-03 13:58:33 +00:00
Russell Keith-Magee
f5087775b3 Refs #1828 -- Added creation of indexes as a step in syncdb. This is an interim solution; the long term solution requires a non-trivial refactoring of syncdb, install and the get_* calls in management.py. Thanks to mdt@emdete.de for the original report, and to Simon Greenhill for prodding me to an interim fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-03 13:46:11 +00:00
Russell Keith-Magee
b08a8dbb65 Cleaned up and clarified some log messages and docstrings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-03 13:23:49 +00:00