django1/django/db
Gary Wilson Jr f27774ee0a Fixed call to `ugettext`, which is imported as `_`.
Changed raise to conform to PEP 3109 and wrapped the long line.
Added beginnings of tests for model fields.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5778 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-30 17:25:35 +00:00
..
backends 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
models Fixed call to `ugettext`, which is imported as `_`. 2007-07-30 17:25:35 +00:00
__init__.py Fixed #3450 -- Exposed IntegrityError in a backend-neutral fashion. This is a 2007-04-25 10:18:56 +00:00
transaction.py Fixed #4040 -- Changed uses of has_key() to "in". Slight performance 2007-04-26 13:30:48 +00:00