Re: Slash appended for URLs ending in .html?

2008-08-22 Thread julianb

On Aug 22, 12:55 pm, janedenone <[EMAIL PROTECTED]> wrote:
> Which version of Django do you use?

Using trunk, 8129 to be exactly.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Slash appended for URLs ending in .html?

2008-08-22 Thread janedenone

On 22 Aug., 12:12, julianb <[EMAIL PROTECTED]> wrote:
> > It's not a bug. If you want URLs that end in .html you have to turn
> > APPEND_SLASH off.
>
> This can't be true. I have APPEND_SLASH set to default (=True) and it
> works with URLs ending in .htm, so there has to be something wrong
> with Jan's URL configuration.

Which version of Django do you use?

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



Re: Slash appended for URLs ending in .html?

2008-08-22 Thread julianb

> It's not a bug. If you want URLs that end in .html you have to turn
> APPEND_SLASH off.

This can't be true. I have APPEND_SLASH set to default (=True) and it
works with URLs ending in .htm, so there has to be something wrong
with Jan's URL configuration.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Slash appended for URLs ending in .html?

2008-08-22 Thread janedenone

Doh, I was reading this from the 0.96 docs:

"Performs URL rewriting based on the APPEND_SLASH and PREPEND_WWW
settings. If APPEND_SLASH is True, URLs that lack a trailing slash
will be redirected to the same URL with a trailing slash, unless the
last component in the path contains a period. So foo.com/bar is
redirected to foo.com/bar/, but foo.com/bar/file.txt is passed through
unchanged."

Thanks,
Jan

On Aug 22, 10:17 am, "Matthias Kestenholz" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On Fri, Aug 22, 2008 at 10:14 AM, janedenone <[EMAIL PROTECTED]> wrote:
>
> > Hi there,
>
> > I installed the current development version of Django about two weeks
> > ago. APPEND_SLASH is set to true, and it appends a slash to all URLs,
> > even the ones ending in .html. Is that a known bug?
>
> It's not a bug. If you want URLs that end in .html you have to turn
> APPEND_SLASH off.
>
> Matthias
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Slash appended for URLs ending in .html?

2008-08-22 Thread Matthias Kestenholz

Hi,

On Fri, Aug 22, 2008 at 10:14 AM, janedenone <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
> I installed the current development version of Django about two weeks
> ago. APPEND_SLASH is set to true, and it appends a slash to all URLs,
> even the ones ending in .html. Is that a known bug?
>

It's not a bug. If you want URLs that end in .html you have to turn
APPEND_SLASH off.

Matthias

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