And in a more generic sense the APPEND_SLASH setting of the  
CommonMiddleware may be what you are looking for.

http://www.djangoproject.com/documentation/middleware/#django- 
middleware-common-commonmiddleware

On 13/08/2006, at 5:17 PM, Ivan Sagalaev wrote:

>
> a wrote:
>> http://localhost/todo
>>
>> i want to rewrite this automatically as
>>
>> http://localhost/todo/
>>
>> is there a easy way to do this
>
> Yep.
>
> http://www.djangoproject.com/documentation/generic_views/#django- 
> views-generic-simple-redirect-to
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to