Commit Graph

8 Commits

Author SHA1 Message Date
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 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