diff options
| author | Paul McMillan <Paul@McMillan.ws> | 2010-08-09 22:11:28 +0000 |
|---|---|---|
| committer | Paul McMillan <Paul@McMillan.ws> | 2010-08-09 22:11:28 +0000 |
| commit | a2e30a41dd00baaa85f0162934327ff0e3dfce51 (patch) | |
| tree | a9a2cc7f7e2c31df860c8b0619c97f65a8273503 /django/db/models/fields/__init__.py | |
| parent | 6c7baa96d84d33c8d02d8899f462255d805d695e (diff) | |
[soc2010/test-refactor] Merged back up to trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/models/fields/__init__.py')
| -rw-r--r-- | django/db/models/fields/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py index 4640eb3238..3c58873035 100644 --- a/django/db/models/fields/__init__.py +++ b/django/db/models/fields/__init__.py @@ -459,6 +459,9 @@ class AutoField(Field): kwargs['blank'] = True Field.__init__(self, *args, **kwargs) + def get_internal_type(self): + return "AutoField" + def to_python(self, value): if value is None: return value |
