These are chat archives for allegro/ralph

27th
Jul 2015
damian1976
@damian1976
Jul 27 2015 08:26

Hi guys, I'm facing the problem I can't overcome for few days now. I'm serving django files with apache 2.2. Everything works well except when trying to use lookup in any form (e.g. Add asset), in any field (Model, User etc). When starting to type in any of these fields and when run chrome F12 devtool I can observe I get http 404 with the following url

http://ralph.man.poznan.pl/%2Fajax_select/ajax_lookup/KFZyYWxwaF9hc3NldHMubW9kZWxzClZVc2VyTG9va3VwCnRwMQou?term=g

When I copy/paste this url to web browser I apparently get 404 too.
However when I change %2Fajax_select to admin/lookups in the url I get json as the output (as expected)
Do you know why is that?

May it be sth related to (r'^admin/lookups/', include(ajax_select_urls)) in ralph's urls.py?