Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[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
  • Loading branch information...
commit 2804e22bfec198fbef24c9ba3fc6bde2d9ec04f0 1 parent 9f53dbb
@alex alex authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/contenttypes/models.py
View
2  django/contrib/contenttypes/models.py
@@ -72,7 +72,7 @@ def _add_to_cache(self, using, ct):
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)
Please sign in to comment.
Something went wrong with that request. Please try again.