Skip to content

Commit 2804e22

Browse files
committed
[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
1 parent 9f53dbb commit 2804e22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django/contrib/contenttypes/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def _add_to_cache(self, using, ct):
7272
self.__class__._cache.setdefault(using, {})[ct.id] = ct
7373

7474
class ContentType(models.Model):
75-
id = models.NativeAutoField(primary_key=100)
75+
id = models.NativeAutoField(primary_key=True)
7676
name = models.CharField(max_length=100)
7777
app_label = models.CharField(max_length=100)
7878
model = models.CharField(_('python model class name'), max_length=100)

0 commit comments

Comments
 (0)