Opened 18 years ago
Closed 18 years ago
#3471 closed (duplicate)
Bad error message for misspelled query
Description ¶
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
Note:
See TracTickets
for help on using tickets.
Duplicate of #2348 which has a patch and tests already.