Sorry - wrong link - look here: https://docs.djangoproject.com/en/2.2/topics/auth/default/#the-permissionrequiredmixin-mixin
Regards, Andréas Den tis 18 juni 2019 kl 10:21 skrev Andréas Kühne < [email protected]>: > Regarding views and permissions, this is build into class based views. > Look here: > > https://docs.djangoproject.com/en/2.2/topics/auth/default/#limiting-access-to-logged-in-users-that-pass-a-test > > Regards, > > Andréas > > > Den mån 17 juni 2019 kl 20:31 skrev Rajat Chopra <[email protected]>: > >> What are the reasons not to use Django Admin? >> >> Also with regards to creating views and giving those views permissions - >> are there any examples someone can point to help illustrate? >> >> >> >> On Monday, June 17, 2019 at 11:40:53 AM UTC-5, James Farris wrote: >>> >>> Think of the Django Admin as a tool for developers or Database Admins. >>> IMO, it should never be used by an end user. Create views as Andreas >>> mentioned and give those views permissions. >>> >>> On Monday, June 17, 2019 at 4:12:53 AM UTC-7, Arya wrote: >>>> >>>> i'm planning to build a full ecommerce business to business website. >>>> there are several user types. >>>> *premium users need to create products and edit them. they need to >>>> communicate to each other. see statistics and access some premium content.* >>>> do you suggest to user the default django admin? or i'm better off >>>> creating a custom admin app ? >>>> >>> -- >> 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/2b4f9ad1-2c29-42ca-b585-3b96e0a07118%40googlegroups.com >> <https://groups.google.com/d/msgid/django-users/2b4f9ad1-2c29-42ca-b585-3b96e0a07118%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/CAK4qSCc_Uk_QGmKP8yAr%2BJF7XM%3D_QayhdmkX6msVfLt-VQhxVg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

