Saturday, February 4, 2012

Is there a simple way to write the site root as a variable clientside

Hi there,

Is there a simple way to write the site root as a variable clientside? i.e. if I'm running locally the site root var with appear clientside as http://localhost:1010 however if I deploy the root will be http://www.mysite.com?

Cheers,
J

--
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/-/lDnCch_r3lAJ.
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


Real Estate