#3530: django.db.models.permalink should use request.urlconf if defined
-----------------------------------------------------+----------------------
   Reporter:  Herbert Poul <[EMAIL PROTECTED]>  |                Owner:  adrian 
       
     Status:  new                                    |            Component:  
Core framework
    Version:  SVN                                    |           Resolution:    
            
   Keywords:  urlconf permalink ROOT_URLCONF         |                Stage:  
Accepted      
  Has_patch:  0                                      |           Needs_docs:  0 
            
Needs_tests:  0                                      |   Needs_better_patch:  0 
            
-----------------------------------------------------+----------------------
Comment (by Herbert Poul <[EMAIL PROTECTED]>):

 i've attached a simple patch which can receive an additional function
 parameter which is ment to be used with a thread local middleware like:
 http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser - all that
 is needed is a function that returns the current request object..
 seems to work fine for me

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