Hi,

You have got this because the code you are using is for an older version of
django. The object_list functionality has been moved to ListView in the
generics package. See here:
https://docs.djangoproject.com/en/1.11/ref/class-based-views/generic-display/#listview

The object_list functionality was removed in 1.3 see here:
https://django.readthedocs.io/en/1.3.X/topics/generic-views.html

Best regards,

Andréas

2017-11-23 17:09 GMT+01:00 Jose Hernando Valencia Pimienta <
[email protected]>:

> I obtain this error using django 1.8.18: can you help me?
>
> ImportError No module named list_detail
>
> C:\Python27\lib\site-packages\profiles\views.py in <module>
>
>    1.
>
>                from django.views.generic.list_detail import object_list
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/3876c3ea-1d9c-409a-9cd9-00427e323a25%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/3876c3ea-1d9c-409a-9cd9-00427e323a25%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK4qSCdiqX2WD5xw-in9rgrXSJU2ybAC7JNH7mpYEkOAh%3D51bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to