On Sep 10, 4:38 pm, Car <[EMAIL PROTECTED]> wrote:
> With development server everything works fine (py 2.5), but after
> uploading to production server (;y 2.4) I have following error msg.
> TypeError at /
> cannot concatenate 'str' and 'function' objects
>
> After commenting these lines everything works fine.
>
> #(r'gymnasium/aktualnosci/$', list_detail.object_list,
> aktualnosci_list_info),
> #(r'gymnasium/aktualnosci/(?P<object_id>\d+)/$',
> list_detail.object_detail, aktualnosci_detail_info),
>
> Whats wrong with theese URLs ?
I can reproduce this error in 0.96 by combining a prefix argument with
a view as a callable in my urlpatterns. E.g,
urlpatterns = patterns('someprefix',
(r'^foo/', list_detail.object_detail, info_dict)
)
The error doesn't occur when using trunk.
Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---