Adrian Holovaty
|
ccbea84834
|
Fixed #404 -- Fixed random ordering in MySQL by abstracting random function into db backend modules. Thanks, mattycakes@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 20:46:00 +00:00 |
Adrian Holovaty
|
e5e1ea602d
|
Fixed #350 -- 'offset' DB API parameter now works in MySQL 3. Tests from [540] pass. Thanks, ronan@cremin.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-19 21:51:14 +00:00 |
Adrian Holovaty
|
bf108187a2
|
Fixed #321 -- Undid [494], which assumed the installed version of MySQLdb had a 'cursors.CursorNW'. Thanks for being consistent, MySQLdb. This opens #316 again.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 00:50:31 +00:00 |
Adrian Holovaty
|
a9b43edde2
|
Fixed #316 -- Changed MySQL backend to disregard warnings
git-svn-id: http://code.djangoproject.com/svn/django/trunk@494 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-14 23:59:29 +00:00 |
Adrian Holovaty
|
7bac552069
|
Changed [459] to use a better interface for the exception
git-svn-id: http://code.djangoproject.com/svn/django/trunk@460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 04:48:47 +00:00 |
Adrian Holovaty
|
024e68e260
|
Changed MySQL backend so that it fails silently if rollback() isn't supported (the code catches NotSupportedError exception)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 04:45:10 +00:00 |
Adrian Holovaty
|
f4e4ae96cb
|
Improved 'django-admin inspectdb' so that it detects ForeignKey relationships -- PostgreSQL only
git-svn-id: http://code.djangoproject.com/svn/django/trunk@395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-02 22:33:39 +00:00 |
Adrian Holovaty
|
d9401b78f1
|
Added first stab at 'django-admin.py inspectdb', which takes a database name and introspects the tables, outputting a Django model. Works in PostgreSQL and MySQL. It's missing some niceties at the moment, such as detection of primary-keys and relationships, but it works. Refs #90.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-02 17:08:24 +00:00 |
Jacob Kaplan-Moss
|
1510ca1a80
|
Fixed #227 -- the sqlite backend now correctly typecasts unicode objects to bytestrings (thanks hugo)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-01 21:49:57 +00:00 |
Jacob Kaplan-Moss
|
12ffae6df4
|
Fixed #197 -- thanks for finding that, mmarshall
git-svn-id: http://code.djangoproject.com/svn/django/trunk@309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-25 22:15:07 +00:00 |
Jacob Kaplan-Moss
|
e320a0936e
|
Added sqlite3 database backend -- somewhat tested, but probably not 100% perfect.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-22 03:15:43 +00:00 |
Jacob Kaplan-Moss
|
78cff1837a
|
Refactor dictfetch* methods from mysql backend out into a seperate module; this is so that future db backends that need these functions can share them.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-21 15:48:20 +00:00 |
Adrian Holovaty
|
3e09a1fc1c
|
Quick bugfix to [207] -- MySQL doesn't have ILIKE
git-svn-id: http://code.djangoproject.com/svn/django/trunk@208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-19 15:24:27 +00:00 |
Adrian Holovaty
|
5797066383
|
Added support for istartswith and iendswith in database API
git-svn-id: http://code.djangoproject.com/svn/django/trunk@207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-19 15:24:03 +00:00 |
Adrian Holovaty
|
8f4fa5a4e7
|
Fixed #69 -- Implemented dictfetchone(), dictfetchmany() and dictfetchall() for mysql DB backend. Thanks, Manuzhai!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-19 02:13:20 +00:00 |
Adrian Holovaty
|
78206fd08c
|
Fixed #56 -- MySQL id columns are now UNSIGNED. Thanks, Manuzhai!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-18 13:53:45 +00:00 |
Adrian Holovaty
|
b1c543d091
|
Factored out database-specific date_trunc behavior into dbmod.get_date_trunc_sql(). Refs #46
git-svn-id: http://code.djangoproject.com/svn/django/trunk@161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-17 20:16:06 +00:00 |
Adrian Holovaty
|
272b217557
|
Factored out database-specific date_extract behavior into dbmod.get_date_extract_sql(). Refs #46
git-svn-id: http://code.djangoproject.com/svn/django/trunk@159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-17 18:23:34 +00:00 |
Adrian Holovaty
|
6ae4def03b
|
Fixed #42 -- OneToOneField now works with SQL generation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-17 17:22:17 +00:00 |
Adrian Holovaty
|
1e0fb3b7a3
|
Added helpful error message if DATABASE_NAME or DATABASE_USER is blank for postgresql
git-svn-id: http://code.djangoproject.com/svn/django/trunk@122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 22:21:50 +00:00 |
Adrian Holovaty
|
caef61945d
|
Fixed #39 -- Thanks for the research, deelan!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 21:10:25 +00:00 |
Adrian Holovaty
|
5721396426
|
Fixed inconsistent capitalization in [109]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 16:56:27 +00:00 |
Adrian Holovaty
|
361be49fe7
|
Changed postgresql DB backend so that it gives a helpful error message if people are using psycopg 2 instead of version 1
git-svn-id: http://code.djangoproject.com/svn/django/trunk@109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-16 16:55:11 +00:00 |
Adrian Holovaty
|
3c0ee70e7c
|
Changed db/backends/postgresql.py to add the password and host params only if they're not blank
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-13 20:59:56 +00:00 |
Adrian Holovaty
|
ed114e1510
|
Imported Django from private SVN repository (created from r. 8825)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-13 01:25:57 +00:00 |