#8611: Reverse for '<django.contrib.auth.decorators._CheckLogin object at
0x8ee144c>' not found
-----------------------------------------+----------------------------------
          Reporter:  imbac...@gmail.com  |         Owner:  nobody
            Status:  reopened            |     Milestone:        
         Component:  Core framework      |       Version:  1.1   
        Resolution:                      |      Keywords:        
             Stage:  Unreviewed          |     Has_patch:  0     
        Needs_docs:  0                   |   Needs_tests:  0     
Needs_better_patch:  0                   |  
-----------------------------------------+----------------------------------
Changes (by ogdoad8):

  * status:  closed => reopened
  * version:  1.0 => 1.1
  * resolution:  invalid =>

Comment:

 I was getting this error when passing a floating point numeric variable
 (by accident) instead of a string variable as the view argument in my {%
 url view.here variable %}.
 Hopefully this comment will help somebody.

 In this case, this was probably the most unhelpful error I've ever seen!
 Am re-opening so that maybe some type-checking can be done in Django to
 make for a more helpful error message.

 You can reproduce this by passing a floating point value (ints don't
 trigger this) to a template and using that variable as a view argument
 that's expecting a string.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8611#comment:4>
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