On Feb 18, 2008, at 11:09 PM, [EMAIL PROTECTED] wrote:

>
> Hi,
>
> that won't do it when I do something like:
> return HttpResponseRedirect('/')
>
> What I want is to be able to do the command above and I'll get to the:
> http://localhost/django
>
> Instead of http://localhost/ .
>
>
> Is there a way to do this?

That's the extent of my helpfulness, unfortunately. The only thing I  
can think of is naming your homepage url pattern and then using  
reverse from urlresolvers to turn that into a string, but that smells  
of hack. Hopefully someone else has a better idea...

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to