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 |
Adrian Holovaty
|
47ce61533a
|
Fixed #228 -- Better handling of timezones. Thanks, rmunn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-29 21:40:09 +00:00 |
Adrian Holovaty
|
017b8753a6
|
Fixed #219 and #188 -- Database timestamp typecast no longer assumes '-' delineates the time zone
git-svn-id: http://code.djangoproject.com/svn/django/trunk@346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-29 21:10:09 +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
|
841b426243
|
Cleaned up [269] a tiny bit
git-svn-id: http://code.djangoproject.com/svn/django/trunk@272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-21 15:01:31 +00:00 |
Jacob Kaplan-Moss
|
907ae72e81
|
fixes #133 -- thanks Joeri
git-svn-id: http://code.djangoproject.com/svn/django/trunk@269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-21 13:57:42 +00:00 |
Adrian Holovaty
|
5874952a8e
|
Improved error message when DATABASE_ENGINE is invalid. It now displays a list of all available database backends
git-svn-id: http://code.djangoproject.com/svn/django/trunk@215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-19 19:04:12 +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
|
d4ddc06021
|
Changed core.db to give a friendlier error message if the DATABASE_ENGINE setting is invalid
git-svn-id: http://code.djangoproject.com/svn/django/trunk@160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-17 20:03:24 +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 |