On Wed, 2010-09-08 at 18:46 -0700, maroxe wrote: > I want to use it later like this: RESOURCE_RENDERER'video' I cannot > assign directly the function name(eg video_player) because it lives in > a module that needs settings.py > > Any idea?
check out getattr() -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.