1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

2495 Commits

Author SHA1 Message Date
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
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
Jacob Kaplan-Moss
98fb26101c Created a branch for the Oracle support sprint in Boulder.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-04 17:59:07 +00:00
Georg Bauer
88029f7700 fixed #2974: updated pt_BR translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-03 13:18:07 +00:00
Russell Keith-Magee
77bdaa76df Removed fossilized remnant of pre-magic removal m2m code. Thanks for the report, Baurzhan Ismagulov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-03 02:14:46 +00:00
Russell Keith-Magee
4bead6e99f Fixes #1378 -- Added svn:ignore "*.pyc" to some directories that were missing the property. Thanks, nick@efford.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3962 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-02 14:42:13 +00:00
Russell Keith-Magee
7b78fd6f5d Fixes #2971 -- Fixed inor typo in example in authentication documentation. Thanks, heckj@mac.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-02 14:30:11 +00:00
Russell Keith-Magee
7f71ae1b8d Fixes #2918 -- Clarified the db_prep_save logic for DateField and DateTimeField to prevent accidental conversion of non-datetime objects into strings, because SQLite doesn't appear to check for valid date format in a string used on an UPDATE of a datetime column.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-02 14:24:31 +00:00
Adrian Holovaty
6645d1fe48 Added ChoiceField, MultipleChoiceField to django.newforms
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-02 03:16:12 +00:00
Adrian Holovaty
36786d28f5 Implemented SelectMultiple in django.newforms.widgets
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-02 01:06:12 +00:00
Adrian Holovaty
964ccd1023 Updated forms unit tests to reflect new fields and widgets from [3955] and [3956]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-01 23:54:17 +00:00
Adrian Holovaty
c0eab791df Added PasswordInput, HiddenInput, FileInput, Select to django.newforms.widgets
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-01 23:53:37 +00:00
Adrian Holovaty
c58fe999a1 Added URLField to django.newforms.fields
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-01 23:52:43 +00:00
Russell Keith-Magee
7bff9cc368 Fixes #2969 -- Added maxRequests option for FCGI servers. Thanks, Michael Radziej.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-31 12:27:55 +00:00
Adrian Holovaty
97dd47a8ed Added note to docs/generic_views.txt that extra_context is new in Django development version. Refs #2966 and [3950]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-30 20:57:35 +00:00
Adrian Holovaty
149933075a Fixed #2963 -- Fixed bug in docs/static_files.txt. Thanks, Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-30 20:52:02 +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