mirror of
https://github.com/django/django.git
synced 2025-07-05 02:09:13 +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:
parent
9f53dbb246
commit
2804e22bfe
@ -72,7 +72,7 @@ class ContentTypeManager(models.Manager):
|
|||||||
self.__class__._cache.setdefault(using, {})[ct.id] = ct
|
self.__class__._cache.setdefault(using, {})[ct.id] = ct
|
||||||
|
|
||||||
class ContentType(models.Model):
|
class ContentType(models.Model):
|
||||||
id = models.NativeAutoField(primary_key=100)
|
id = models.NativeAutoField(primary_key=True)
|
||||||
name = models.CharField(max_length=100)
|
name = models.CharField(max_length=100)
|
||||||
app_label = models.CharField(max_length=100)
|
app_label = models.CharField(max_length=100)
|
||||||
model = models.CharField(_('python model class name'), max_length=100)
|
model = models.CharField(_('python model class name'), max_length=100)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user