On Nov 27, 2007 11:46 AM, <[EMAIL PROTECTED]> wrote: > > > Le 27.11.2007 17:40,, le perspicace James Bennett s'exprimait en ces termes: > > On 11/27/07, Sun Wukong <[EMAIL PROTECTED]> wrote: > >> But I get this error : > >> Error while importing URLconf 'myblog.personne.urls': cannot import name > >> render_to_reponse > > > > One of your views is trying to use render_to_response, but is > > apparently looking in the wrong place to import it. > > Well, I thought my code failed trying to import some urls.py file. So, > here is the (only one) views.py : > > # -*- coding: utf-8 -*- > # Create your views here. > # this file is : myblog/personne/views.py > > from django.shortcuts import render_to_reponse
You are missing the first 's' here in render_to_response. Karen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---