Why are view mixins not exported?

13 views
Skip to first unread message

Frederik Creemers

unread,
Nov 1, 2016, 10:40:39 AM11/1/16
to Django users
I'm trying to create my own generic view, and there are several mixins in django.views.generic that would be very useful to me. When I try to import them, PyCharm gives me an error, and this seems to be because these mixins are not in __all__. Are these just not considered part of Django's public API?

Avraham Serour

unread,
Nov 1, 2016, 10:47:49 AM11/1/16
to django-users
Which ones? What error are you getting?


On Tue, Nov 1, 2016 at 3:05 PM, Frederik Creemers <frederik...@gmail.com> wrote:
I'm trying to create my own generic view, and there are several mixins in django.views.generic that would be very useful to me. When I try to import them, PyCharm gives me an error, and this seems to be because these mixins are not in __all__. Are these just not considered part of Django's public API?

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
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/80b994d4-892b-48d6-8704-35afd240f985%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages