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
from myblog.personne.models import Personne

def personne_list(request):
    """Consultation de la liste des Personnes"""
    print "I am here"
    assert False


Thx

-- 
SunWukong

Linux User #354048
GPG Key available : 0xF4DD0AD2 on keyserver.ubuntu.com

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to