Author: Alex
Date: 2010-06-17 21:04:10 -0500 (Thu, 17 Jun 2010)
New Revision: 13357

Modified:
   django/branches/soc2010/query-refactor/django/contrib/contenttypes/models.py
Log:
[soc2010/query-refactor] Fix an amusing typo (didn't break anything, was just 
stupid).  Thanks to Waldemar Kornewald for the report.

Modified: 
django/branches/soc2010/query-refactor/django/contrib/contenttypes/models.py
===================================================================
--- 
django/branches/soc2010/query-refactor/django/contrib/contenttypes/models.py    
    2010-06-17 23:50:51 UTC (rev 13356)
+++ 
django/branches/soc2010/query-refactor/django/contrib/contenttypes/models.py    
    2010-06-18 02:04:10 UTC (rev 13357)
@@ -72,7 +72,7 @@
         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)

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to