With development server everything works fine (py 2.5), but after
uploading to production server (;y 2.4) I have following error msg.

Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/django/core/handlers/
base.py" in get_response
  68. callback, callback_args, callback_kwargs =
resolver.resolve(request.path)
File "/usr/local/lib/python2.4/site-packages/django/core/
urlresolvers.py" in resolve
  160. for pattern in self.urlconf_module.urlpatterns:
File "/usr/local/lib/python2.4/site-packages/django/core/
urlresolvers.py" in _get_urlconf_module
  177. self._urlconf_module = __import__(self.urlconf_name, {}, {},
[''])
File "/home/gymn/gym/urls.py" in ?
  55. (r'gymnasium/aktualnosci/$', list_detail.object_list,
aktualnosci_list_info),
File "/usr/local/lib/python2.4/site-packages/django/conf/urls/
defaults.py" in patterns
  18. pattern_list.append(RegexURLPattern(regex, prefix and (prefix +
'.' + view_or_include) or view_or_include, *default_kwargs))

  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 ?
Thanks


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