Hi Malcolm

Does this mean you have to
change your site all over the place?

No mate, I found out what the problem was, you've hit the nail on the head
later on in your email.

(flatpages is one we've subsequently discovered)

We've written a bespoke pages app like flatpages, only we've included some
other fields, metadata mainly and some other ones.

Do you have a strange static URL pattern and are using the development
server to serve static data?

yes, and yes

It also failed on the server running with lighttpd though, and the problem
was a missing slash in the urlpattern for pages.

here's what I mean

our urlpatterns for the pages app in our daughter project was

urlpatterns += patterns('daughter.pages.views',
    (r'^(?P<url>.*)$', 'page'),
)

so after the source upgrade anything that wasn't being found in the url
pattersn, instead of using append_slash was being caught with this pattern

so we changed it to

urlpatterns += patterns('daughter.pages.views',
    (r'^(?P<url>.*)/$', 'page'),
)

and it all works OK now.








On 17/12/2007, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
>
>
> On Fri, 2007-12-14 at 16:31 +0000, Matt Davies wrote:
> > Thanks Pete
> >
> > You're a star
>
> I don't understand the conclusion here. Does this mean you have to
> change your site all over the place? The change in [6852] should have
> been very close to backwards compatible except in some really odd
> side-cases (flatpages is one we've subsequently discovered).
>
> Do you have a strange static URL pattern and are using the development
> server to serve static data?
>
> Malcolm
>
> --
> I just got lost in thought. It was unfamiliar territory.
> http://www.pointy-stick.com/blog/
>
>
> >
>

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