1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

[soc2010/query-refactor] Fix an amusing typo (didn't break anything, was just stupid). Thanks to Waldemar Kornewald for the report.

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor 2010-06-18 02:04:10 +00:00
parent 9f53dbb246
commit 2804e22bfe

View File

@ -72,7 +72,7 @@ class ContentTypeManager(models.Manager):
self.__class__._cache.setdefault(using, {})[ct.id] = ct
class ContentType(models.Model):
id = models.NativeAutoField(primary_key=100)
id = models.NativeAutoField(primary_key=True)
name = models.CharField(max_length=100)
app_label = models.CharField(max_length=100)
model = models.CharField(_('python model class name'), max_length=100)