Skip to content

Commit

Permalink
[soc2010/query-refactor] Fix an amusing typo (didn't break anything, …
Browse files Browse the repository at this point in the history
…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
alex committed Jun 18, 2010
1 parent 9f53dbb commit 2804e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/contenttypes/models.py
Expand Up @@ -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)
Expand Down

0 comments on commit 2804e22

Please sign in to comment.