#8554: Newcomments should use PositiveIntegerField instead of TextField for
object_pk
---------------------------+------------------------------------------------
 Reporter:  apollo13       |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Uncategorized  |     Version:  SVN       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 The title says it all...
 
(http://code.djangoproject.com/browser/django/trunk/django/contrib/comments/models.py#L22)
 Postgres throws a nice error:
 {{{
    Caught an exception while rendering: operator does not exist: text =
 integer
 LINE 1: ...public" = true  AND "django_comments"."object_pk" = 139  AND...
                                                              ^
 HINT:  No operator matches the given name and argument type(s). You might
 need to add explicit type casts.
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8554>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to