#14199: NameError in django.core.cache.backends.db
----------------------------------+-----------------------------------------
 Reporter:  tiliv                 |       Owner:  nobody    
   Status:  new                   |   Milestone:            
Component:  Cache system          |     Version:  SVN       
 Keywords:  db, cache, NameError  |       Stage:  Unreviewed
Has_patch:  1                     |  
----------------------------------+-----------------------------------------
 Lines 127 and 129 in django/core/cache/backends/db.py
 
(http://code.djangoproject.com/browser/django/trunk/django/core/cache/backends/db.py?rev=13473#L127)
 cause a NameError when executed.

 r13473 introduced an update to allow the new Router system to handle the
 database cache table name, changing the CacheClass variable handling from
 ```self._table``` to the local variable ```table```, derived from ```table
 = connections[db].ops.quote_name(self._table)```.  The ```_cull``` method
 in CacheClass must have been missed, as it tries to use the local
 ```table``` variable without first deriving it.

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