2
The problem is that you have terminated your including URL with “$”, so nothing after that can match. Change it to:
url(r'^profile/autocomplete', ...)
without the $.
Note that the most recent versions of Django raise a warning when you do this.
0
In your urls.py
file, try changing this:
url(r'^profile/autocomplete$', include('autocomplete_light.urls'), name='autocomplete')
to this:
url(r'^profile/autocomplete$', include('autocomplete_light.urls', name='autocomplete'))
It might need to be namespace
instead of name
, I’m not certain.
- [Answered ]-Creating a drop-down menu of Member IDs
- [Answered ]-Chatterbot Django and Heroku (Issues Running Example)
- [Answered ]-How to import packages in virtualenv in python shell
Source:stackexchange.com