On Apr 10, 1:50 pm, Anthony <[email protected]> wrote:
> Hi Everyone,
>
> This is really basic and I tried looking up this question since it
> can't be a new one, but the closest thread I found was this one:
>
> <a href="http://groups.google.com/group/django-users/browse_thread/
> thread/d2524403e13fcd22/515358199feebc68?lnk=gst&q=url+home
> +page#515358199feebc68">Home page question thread</a>
>
> I'm trying to set up my templates so that I have a link back to my
> home page.  I've got the following URL conf set up so that it points
> to "http://www.mysite.com":
>
> url(r'^$', myapp.views.home, name = "url-home")
>
> Is there a way to de-reference "url-home" from within my templates so
> I don't have to hard code my home page?
>
> Thanks!
> Anthony

Try <a href='/'>Home Page</a>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to