Is this an actual issue? You realize that there's no difference between
/doc/ and http://example.com/doc/ if the current server is
http://example.com/?
See here:
https://docs.djangoproject.com/en/1.4/ref/templates/ builtins/#url
No no, that's not my issue. {% url %} template tag just create relative url that represent the views url. But, what I am going to ask here is create absolute url path. I mean in codeigniter I just call base_url() to create the base url where I am work. In django, it's hard to do that, just it.
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/cinsOV4C4fMJ.
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.
No comments:
Post a Comment