Contribution in GSOC Django projects

2021-03-13 Thread Khushi Kaushal
Hello! I will be participating in Google Summer of code. I wanted to ask about the projects and tasks we will be having in this Django Software Foundation -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To

Re: Difference between AdminSite.admin_view and staff_member_required?

2021-03-13 Thread Ian Foote
I think deprecating it is a good idea. I think it's actually a small footgun - I've seen it used to restrict access to non-admin functionality, when `user_passes_test` would be appropriate. In the case I found it, it made adding tests trickier than it should have been. Ian On Tue, 9 Mar 2021 at 2

Re: Difference between AdminSite.admin_view and staff_member_required?

2021-03-13 Thread Kevin Grinberg
`staff_member_required` is a nice convenience method, quite useful outside of the admin if your authorization needs are sufficiently served by User.is_staff (which isn't always the case of course, but often *is* on a small project). Yes, it can be reduced to a `user_passes_test` call, but that'

Re: Contribution in GSOC Django projects

2021-03-13 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi Khushi The wiki page has much information, including many potential projects: https://code.djangoproject.com/wiki/SummerOfCode2021 Thanks, Adam On Sat, 13 Mar 2021 at 09:12, Khushi Kaushal wrote: > Hello! > I will be participating in Google Summer of code. I wanted to ask about > the proje