Re: How to make Django pick new urls immediately
2011/10/6 Yaşar Arabacı <yasar11732@gmail.com>
-- maybe you should restart the server? And, do you include new urls in your root url config?
OK! I just found out that if you have urls.py in different packages and these urls.py files are all included in the root package urls.py file of the app, if I have a url (say /post) defined within a python module in the package app.api, I will have to access the url like this http://example.com/api/post and not http://example/post. I was attempting the later which is the reason for the 404.
Regards
Regards
Odeyemi 'Kayode O.
http://www.sinati.com. t: @charyorde
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home