#14820: Use `TextField` instead of `PositiveIntegerField` in docs and examples 
for
generic relations.
------------------------------------+---------------------------------------
          Reporter:  mrmachine      |         Owner:                            
                                               
            Status:  new            |     Milestone:  1.3                       
                                               
         Component:  Documentation  |       Version:  SVN                       
                                               
        Resolution:                 |      Keywords:  generic relation 
genericforeignkey object_id type textfield sprintdec2010
             Stage:  Accepted       |     Has_patch:  1                         
                                               
        Needs_docs:  0              |   Needs_tests:  0                         
                                               
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Comment (by claudep):

 I suggest also to add a note about adding an index to object_id. I just
 realized that slow queries in my app were related to the fact that this
 column was not indexed. I'm sure that most applications will benefit from
 this column being indexed.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14820#comment:10>
Django <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 django-updates@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