You can extend your User's model with a new option like
"is_subscribed" and check it via middleware or your mixin.


On 12/12/2017, Roy Shillingburg <[email protected]> wrote:
> Should I simply add a flag on each user model to check if subscribed and
> restrict access to certain views/apps?
>
> A middleware approach?
>
>
> --
> 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/f8450f67-3d32-4fc8-a630-8f9d648a4c56%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Kind Regards, Egor Smolyakov.

-- 
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/CACL14xqKM%2BkPFiAPwkU3RYwFLm8X7%3DZxs_MjrO6msQwQNpf8Qw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to