[Answered ]-Django-haystack urlpatterns include('haystack.urls') where does it lead to?

2👍

Doesn’t exactly answer your question, but a class can be a callable:

>>> class Foo(object):
...     def __call__(self):
...             print "Called me"
... 
>>> 
>>> foo = Foo()
>>> foo()
Called me
👤sberry

Leave a comment