Hi all,
I tried to reverse url by calling:
reverse('wmd-settings-js')
inside a widget as such:
class MarkDownInput(forms.Textarea):
class Media:
js = (reverse('wmd-settings-js'))
But then I would get this error from django:
Exception Type: ImproperlyConfigured
Exception Value:
The included urlconf job_board.urls doesn't have any patterns in it
Has the behaviour changed in django 1.2 now? Can't we call reverse
from a widget anymore?
Thanks for the help.
Regards,
--
Certified Scrum Master
http://blog.scrum8.com |
http://jobs.scrum8.com |
http://twitter.com/scrum8