Hi. I beat my brains out trying to find out why my cbv was not working with
LoginRequiredMixin.
I found the order of the mixins in the inheritance:
It works: class UserListView(LoginRequiredMixin, ListView)
Doesn't work: class UserListView(ListView, LoginRequiredMixin)
Is that how it was designed
Github: python-decouple
Em dom, 22 de abr de 2018 14:05, Bill Torcaso
escreveu:
>
> I waited a while to answer this, and my answer comes in three distinct
> parts.
>
> #-
>
> Question: what is the danger is using environment variables to hold
> secret info?
>
> Answer: The
see: https://docs.djangoproject.com/en/1.11/#index-first-steps
2017-10-25 12:58 GMT-03:00 Alaa Najmi :
> how to working django
>
> --
> 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
3 matches
Mail list logo