Re: Use .html at the end of the url instead of / ?

2007-10-17 Thread Tim Chase
> Having your URLs end with a slash is good. It looks better and shortens > your pages address. Also, in the future, you may find that not all of > your pages are going to be text/html. While I'm ambivalent about the trailing slash (the below assumes that it's disabled), many of my urls/views

Re: Use .html at the end of the url instead of / ?

2007-10-17 Thread Dean Edridge
Mathieu Poussin 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 ->

Re: Use .html at the end of the url instead of / ?

2007-10-17 Thread [EMAIL PROTECTED]
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/ > >

Use .html at the end of the url instead of / ?

2007-10-17 Thread Mathieu Poussin
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 ,

Re: USE HTML

2007-09-24 Thread Joseph Heck
Django has an excellent starter tutorial at http://www.djangoproject.com/documentation/tutorial01/ that should get you started with what you're asking and want to know. Do the tutorial, it's worth it. -joe On 9/23/07, mayank bhargava <[EMAIL PROTECTED]> wrote: > > How to use

USE HTML

2007-09-23 Thread mayank bhargava
How to use html or how to create dunamic html pages with django ? best regards mayank --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj