#3471: Bad error message for misspelled query
------------------------------------------------------+---------------------
Reporter:  Dave Abrahams <[EMAIL PROTECTED]>  |       Owner:  adrian          
  Status:  new                                        |   Component:  Database 
wrapper
 Version:  SVN                                        |    Keywords:            
      
   Stage:  Unreviewed                                 |   Has_patch:  0         
      
------------------------------------------------------+---------------------
 I wrote:
 
 {{{
  TimeDivision.objects.filter(when__ge=datetime(2007,5,14))
 }}}
 
 Note `ge` instead of `gte`.
 
 The resulting error was:
 
 {{{
   UnboundLocalError: local variable 'new_opts' referenced before
 assignment
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3471>
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