Ok, so I narrowed this down a bit: the problem was with get_absolute_url. I still do not understand why it would complain about the urls.py not being found.
I'd still be happy about any hints, but in the meantime I changed my template code to a not-so-DRY but working version with explicit urls. On 9 Nov., 08:46, m3mitsuppe <eric.fe...@googlemail.com> wrote: > Hi all, > > I have a strange error on a website I developed (quite some time > ago...). > > The main url works:http://www.christina-kratzenberg.de > > So do all the links at the bottom except for the "portfolio" one. It's > of course the interesting part where a photo portfolio is shown. > > When I click on that link, Django issues a Template Syntax Error > saying that the module "tina.urls" cannot be importet. That's kind of > strange, because it must have been imported this exact module for > rendering the home page and the other pages that do work. > > As this happens during template rendering, I'm a bit at a loss here. > Can anyone provide me with ideas? I don't really understand where to > look for a solution. > > I'm on Django 1.0.2 with mod_python. Upgrading Django to a newer > version and/or migrating to mod_wsgi is possible, but I don't want to > start changing everything without understanding what's happening here. > > Thanks! > Eric --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---