set APPEND_SLASH=False

(r'^documents/([\w_]+)\.html', 'some_view', {})

On Oct 17, 1:47 pm, Mathieu Poussin <[EMAIL PROTECTED]> wrote:
> Hello ,
> i have a question,
> by default , django add a slash at the end of the url , like that 
> :http://my/documents/hello->http://my/documents/hello/
>
> it's possible to add .html instead of that ? like that 
> :http://my/documents/hello->http://my/documents/hello.html
>
> if yes, how ?
>
> thanks , Sorry for my bad english


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