Aha I had the old admin line still in the urls file beneath the new one, it was twistin the melons :-)
I've deleted the old line and all is well. On Feb 6, 1:38 pm, vanderkerkoff <tonm...@gmail.com> wrote: > Hi Guys > > I've gone a long way to upgrade an application we wrote in ages ago in > really old django to new django, I've got stuck some way into it > though. Front end all sorted, I can fire up the app so the admin.py > stuff is all working, but when I click on anything inside the admin, > for this example we'll use Groups, I get an error. > > Caught ImportError while rendering: No module named urls > > referring to > > In template /Library/Python/2.6/site-packages/django/contrib/admin/ > templates/admin/change_list.html, error at line 11 > > The line is > > {% url admin:jsi18n as jsi18nurl %} > > I'm using django1.2.4 > > I've got all this in my urlsCONF > > from django.conf.urls.defaults import * > from django.contrib import admin > admin.autodiscover() > urlpatterns = patterns('', > (r'^admin/(.*)', admin.site.root), > > If I try clicking on any of the other applications in this project > they all give the same error. It's like I'm not passing the url stuff > over to the templates, but only the admin templates. > > I'm obviously doing something stupid, any help, greatly appreciated. -- 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.