summaryrefslogtreecommitdiff
path: root/django/core/db/backends/postgresql.py
AgeCommit message (Collapse)Author
2005-10-14Fixed #618 -- Added DATABASE_PORT setting. Thanks, EsajAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-12Fixed #589 -- Added FilePathField. It's available as an ORM field and as a ↵Adrian Holovaty
standalone field in django.core.formfields. Thanks, jay@skabber.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-28Fixed #553 -- Added django.core.meta.fields.Field.get_internal_type() hook, ↵Adrian Holovaty
for creating custom meta.Field subclasses. Thanks, wojtek3 git-svn-id: http://code.djangoproject.com/svn/django/trunk@713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-19Fixed #491 -- Non-user connections are now supported for PostgreSQL. Thanks, ↵Adrian Holovaty
jafo@tummy.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02Fixed #404 -- Fixed random ordering in MySQL by abstracting random function ↵Adrian Holovaty
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-08-19Fixed #350 -- 'offset' DB API parameter now works in MySQL 3. Tests from ↵Adrian Holovaty
[540] pass. Thanks, ronan@cremin.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02Improved 'django-admin inspectdb' so that it detects ForeignKey ↵Adrian Holovaty
relationships -- PostgreSQL only git-svn-id: http://code.djangoproject.com/svn/django/trunk@395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-02Added first stab at 'django-admin.py inspectdb', which takes a database name ↵Adrian Holovaty
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-07-19Added support for istartswith and iendswith in database APIAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17Factored out database-specific date_trunc behavior into ↵Adrian Holovaty
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-17Factored out database-specific date_extract behavior into ↵Adrian Holovaty
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-17Fixed #42 -- OneToOneField now works with SQL generationAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16Added helpful error message if DATABASE_NAME or DATABASE_USER is blank for ↵Adrian Holovaty
postgresql git-svn-id: http://code.djangoproject.com/svn/django/trunk@122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16Fixed inconsistent capitalization in [109]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16Changed postgresql DB backend so that it gives a helpful error message if ↵Adrian Holovaty
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-13Changed db/backends/postgresql.py to add the password and host params only ↵Adrian Holovaty
if they're not blank git-svn-id: http://code.djangoproject.com/svn/django/trunk@6 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-13Imported Django from private SVN repository (created from r. 8825)Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3 bcc190cf-cafb-0310-a4f2-bffc1f526a37