James Bennett
4da80e4df3
Move the schema-evolution branch into the attic.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/attic/schema-evolution@11518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
archive/attic/schema-evolution
2009-09-11 21:26:12 +00:00
Derek Anderson
5aa0172558
schema-evolution: update from HEAD (v5821)
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 16:50:17 +00:00
Derek Anderson
0af6ed0c48
schema-evolution:
...
added support for custom migration scripts
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 14:19:27 +00:00
Derek Anderson
db79faa328
schema-evolution:
...
added "default" support so when you add a not null column to a non-empty table you don't get an sql exception
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-03 22:38:44 +00:00
Derek Anderson
6aad6a8a48
schema-evolution:
...
added check to see if your backend is supported yet.
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-03 21:18:09 +00:00
Derek Anderson
c383135d2d
schema-evolution:
...
added the postgresql_psycopg2 backend
added more unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-03 20:49:19 +00:00
Derek Anderson
ce1c58421a
schema-evolution:
...
backported on request to mysql_old (untested)
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-03 19:48:04 +00:00
Derek Anderson
ba056e68c8
schema-evolution:
...
removed some cruft i forgot to delete earlier
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-03 17:08:45 +00:00
Derek Anderson
c05d52cdfe
schema-evolution:
...
moved most of the sql_evolve code into its own module
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-03 16:48:51 +00:00
Derek Anderson
0f5a5a0594
schema-evolution: updated from trunk/HEAD (r5787)
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-02 21:51:32 +00:00
Derek Anderson
fd77e42509
schema-evolution:
...
added sqlite3 unit tests
greatly expanded the number of evolutions supported by the sqlite3 backend
changed all get_<evolution_type> calls to return lists of strings
fixed sqlite3 get_indexes introspection
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-02 21:17:23 +00:00
Derek Anderson
38c1cd721d
schema-evolution:
...
added new "pk_requires_unique" option to the backend, because sqlite3 requires "UNIQUE" when creating PKs in order to
_actually_ create the constraint.
fixed "get_known_column_flags" introspection for sqlite3
implemented "get_drop_column_sql" for sqlite3 to work around sqlite's lack of DROP COLUMN support
added partial of the sqlite3 unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5785 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-02 03:28:52 +00:00
Derek Anderson
0b4c2c7ab1
schema-evolution:
...
fixed postgresql constraint lookup after a table rename bug
pulled table renames into the backends
added postgresql unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-01 17:51:59 +00:00
Derek Anderson
4629092d79
schema-evolution: additional documentation changes
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-31 17:37:11 +00:00
Derek Anderson
0e049f1b8c
schema-evolution: updated docs to include more useful "howto" information
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5780 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-31 16:36:13 +00:00
Derek Anderson
6dab0824be
schema-evolution: fixed f.aka bug; moved sql commenting from the base classes into management.py; added unit tests
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5779 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-30 20:05:02 +00:00
Derek Anderson
993ac8db97
schema-evolution: fixed None iteration error
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5777 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-30 17:10:05 +00:00
Derek Anderson
05fb387696
schema-evolution: added documentation
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 21:42:47 +00:00
Derek Anderson
dac5af33de
schema-evolution: re-applied schema evolution changes from:
...
http://kered.org/blog/wp-content/uploads/2007/07/django_schema_evolution-svn20070719patch.txt
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 20:58:33 +00:00
Derek Anderson
365f4b8698
schema-evolution: merged trunk:HEAD into schema-evolution branch
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@5734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 20:49:49 +00:00
Derek Anderson
42851d90da
committing to schema-evolution
...
merge from HEAD
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@3937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-26 19:09:51 +00:00
Derek Anderson
450889c9a6
schema evolution test cases
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@3647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22 16:46:02 +00:00
Derek Anderson
ffac8356dd
implemented schema evolution
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@3646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22 16:16:38 +00:00
Jacob Kaplan-Moss
96d4d698e1
Created schema-evolution branch for Derek Andersen's SoC project
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@3332 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 14:46:42 +00:00
Adrian Holovaty
78adbd9434
Added get_language_bidi to django.utils.translation.trans_nuill. Refs #2203
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 14:08:42 +00:00
Adrian Holovaty
f3a586a557
Fixed #2326 -- Fixed exception catching in django.contrib.auth.models. Thanks, mir@noris.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 14:03:24 +00:00
Adrian Holovaty
33f47ae30a
Added local 'qn' variable for backend.quote_name in django.db.models.query.delete_objects
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 04:11:40 +00:00
Adrian Holovaty
cfcd4a5875
Added local 'qn' variable for backend.quote_name in django.db.models.query.fill_table_cache
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:35:17 +00:00
Adrian Holovaty
98597be786
Removed references to LOOKUP_SEPARATOR in django.db.models.query.lookup_inner
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:29:12 +00:00
Adrian Holovaty
9a0e56dbb5
Removed unnecessary 'except: raise' in django.db.models.query.lookup_inner
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:27:29 +00:00
Adrian Holovaty
a17a9d1474
Added local 'qn' variable for backend.quote_name in django.db.models.query.lookup_inner
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:27:10 +00:00
Adrian Holovaty
c262e19670
Renamed 'clause' variable to 'lookup_type' in django.db.models.query.lookup_inner
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:21:59 +00:00
Adrian Holovaty
79b7fc17a1
Small formatting change to m2m_and_m2o model unit test
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3321 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:20:11 +00:00
Adrian Holovaty
1805bbb6cd
Changed runtests.py to set USE_I18N=True for testing
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3319 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:09:14 +00:00
Adrian Holovaty
93b21610b9
Added note to docs/settings.txt and docs/i18n.txt about not importing from django.utils.translation in the settings file
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 02:49:56 +00:00
Adrian Holovaty
b4b9edc5e5
Fixed #1614 -- get_sql(), lookup_inner() and parse_lookup() no longer return a 'tables' parameter, because 'tables' was never getting assigned, anywhere.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 02:32:53 +00:00
Adrian Holovaty
4872e16d1c
Decimated 'whilst' in docs/templates_python.txt from [3308]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 14:22:04 +00:00
Georg Bauer
4295dd9195
added arabic to the setup
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 14:14:32 +00:00
Georg Bauer
8c399ba5b6
fixed #2302 : added arabic translation. thx Ahmad Alhashemi.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 14:14:00 +00:00
Malcolm Tredinnick
9af47730da
Typo fixing.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 10:50:04 +00:00
Malcolm Tredinnick
927d87d732
Fixed #2320 -- corrected numerous errors in the custom tag examples in
...
python_templates.txt. Also fixed an argument parsing error for such tags.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 10:48:08 +00:00
Adrian Holovaty
c1847294b8
Fixed #2301 -- Added list_display_links option to 'class Admin', which regulates which fields in the change list have links. Thanks, kilian
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 04:16:26 +00:00
Adrian Holovaty
5ce4a56a7c
Fixed bug in utils.translation.trans_null -- get_date_formats and get_partial_date_formats weren't returning tuples properly
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 04:08:45 +00:00
Adrian Holovaty
b98972e1c9
Fixed #2312 -- E-mail validator now accepts TLDs up to 6 characters long
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 02:32:54 +00:00
Adrian Holovaty
9a588aa4b4
Fixed #2317 -- Fixed help_text for FlatPage.template_name field to match magic-removal template names. Thanks, md@hudora.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-09 22:35:08 +00:00
Russell Keith-Magee
c431ade5f5
Refs #2217 -- Updated DB API docs to discuss filtering using objects rather than IDs. Second attempt - forgot to save before commit last time.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-09 03:53:11 +00:00
Russell Keith-Magee
88189399b1
Refs #2217 -- Updated DB API docs to discuss filtering using objects rather than IDs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-09 03:51:37 +00:00
Adrian Holovaty
78c91dd7df
Made two small changes to comments in django.db.models.query
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-08 14:17:45 +00:00
Adrian Holovaty
2eb492ba60
Fixed django.utils.httpwrappers call in docs/outputting_pdf.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-08 14:14:28 +00:00
Adrian Holovaty
18eb7ecb13
Fixed #2310 -- Changed trans_null.py to use settings.LANGUAGE_CODE instead of hard-coded 'en'
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-08 13:58:33 +00:00