On Sat, Oct 6, 2012 at 10:25 PM, Rohit Banga <iamrohitba...@gmail.com> wrote:
>
> So how do I code my url conf / view / template in order to be independent of
> mywebsite name.
> Is there anything wrong with the way I am wiring up my application.

Take a look at the docs for:

URL reversing: 
https://docs.djangoproject.com/en/dev/topics/http/urls/#reverse-resolution-of-urls

Naming URLs: 
https://docs.djangoproject.com/en/dev/topics/http/urls/#naming-url-patterns

These links point to the in-development version of the docs. This is because
there has been a refactor lately to make presentation of these concepts more
clear and because there hasn't been significant changes in this functionality
since Django 1.4.

HTH

-- 
Ramiro Morales

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to