summaryrefslogtreecommitdiff
path: root/django/core/db/backends/sqlite3.py
AgeCommit message (Collapse)Author
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly ↵Adrian Holovaty
backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-28Fixed #1442 -- Fixed multithreading problem with various database backends. ↵Adrian Holovaty
Thanks, Eugene Lazutkin git-svn-id: http://code.djangoproject.com/svn/django/trunk@2579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18Fixed #1286 -- Improved 'inspectdb' so that it introspects primary_key=True ↵Adrian Holovaty
and unique=True for MySQL. Thanks, gandalf@owca.info git-svn-id: http://code.djangoproject.com/svn/django/trunk@2346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-17Fixed #1296 -- Made SlugField maxlength configurable. Thanks, MattAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-04Fixed #1328 -- Improved 'inspectdb' to handle Python reserved words as field ↵Adrian Holovaty
names. Also updated docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-20Fixed #1093 -- Fixed error in inspectdb from [1688]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1744 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16Fixed #646 -- inspectdb no longer fails on database tables with hyphen in ↵Adrian Holovaty
the name. Thanks for reporting, jack at xiph.org git-svn-id: http://code.djangoproject.com/svn/django/trunk@1688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04reverted changes from [1534] and [1536] regarding ticket #966Georg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04fixes #989 - new 'no' translations for JavaScriptGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01Fixed #971 -- inspectdb for SQLite now introspects field types.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29Fixed #460 -- Added 'django-admin.py inspectdb' support for SQLite. Thanks, ↵Adrian Holovaty
Swaroop git-svn-id: http://code.djangoproject.com/svn/django/trunk@1484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21Fixed #800 -- Fixed bug in treatement of underscores and percent signs in ↵Adrian Holovaty
SQLite backend. In order to do this, changed OPERATOR_MAPPING in DB backends to include a format string of the field value, because ESCAPE comes after the field value. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20Gave EmailField a get_internal_type() method and removed it from DATA_TYPES ↵Adrian Holovaty
in all the database backends git-svn-id: http://code.djangoproject.com/svn/django/trunk@1316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13Moved db.quote_name from a model-level function to a method of ↵Adrian Holovaty
DatabaseWrapper for all database backends, so quote_name will be accessible in a 'from django.core.db import db' context git-svn-id: http://code.djangoproject.com/svn/django/trunk@1213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01Added quote_name hook for each database backend. Refs #121. Thanks, Robin ↵Adrian Holovaty
Munn -- we miss you. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1039 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-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-08-01Fixed #227 -- the sqlite backend now correctly typecasts unicode objects to ↵Jacob Kaplan-Moss
bytestrings (thanks hugo) git-svn-id: http://code.djangoproject.com/svn/django/trunk@383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-25Fixed #197 -- thanks for finding that, mmarshallJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22Added sqlite3 database backend -- somewhat tested, but probably not 100% ↵Jacob Kaplan-Moss
perfect. git-svn-id: http://code.djangoproject.com/svn/django/trunk@288 bcc190cf-cafb-0310-a4f2-bffc1f526a37