django1/django/db/backends/mysql_old
Adrian Holovaty ac2b9f2a3f Added a db_type() method to the database Field class. This is a hook for calculating the database column type for a given Field. Also converted all management.py CREATE TABLE statements to use db_type(), which made that code cleaner. The Field.get_internal_type() hook still exists, but we should consider removing it at some point, because db_type() is more general. Also added docs -- the beginnings of docs on how to create custom database Field classes. This is backwards-compatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 06:28:56 +00:00
..
__init__.py Added a mysql_old backend that matches the mysql backend prior to [4724]. This 2007-03-21 03:27:03 +00:00
base.py Fixed #4770 -- Fixed some Unicode conversion problems in the mysql_old backend 2007-07-06 08:04:04 +00:00
client.py Added a mysql_old backend that matches the mysql backend prior to [4724]. This 2007-03-21 03:27:03 +00:00
creation.py Added a db_type() method to the database Field class. This is a hook for calculating the database column type for a given Field. Also converted all management.py CREATE TABLE statements to use db_type(), which made that code cleaner. The Field.get_internal_type() hook still exists, but we should consider removing it at some point, because db_type() is more general. Also added docs -- the beginnings of docs on how to create custom database Field classes. This is backwards-compatible. 2007-07-20 06:28:56 +00:00
introspection.py Fixed #2365, #3324 -- Renamed FloatField to DecimalField and changed the code 2007-05-21 01:29:58 +00:00