Related Queryset filter

2020-02-26 Thread Malik Brahimi
class GridViewset(ModelViewSet): queryset = Grid.objects.all() serializer_class = GridSerial class ItemViewset(ModelViewSet): queryset = Item.objects.all() serializer_class = ItemSerial def get_queryset(self): if self.request.user.is_staff: return Item.obj

Conflicting URLs DRF

2020-02-14 Thread Malik Brahimi
Please help: https://www.reddit.com/r/django/comments/f4390j/conflicting_urls_drf/ -- 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+unsubscr...@goog

OpenID Django

2019-12-29 Thread Malik Brahimi
I'm trying to use SSO in my application provided by Ping Identity and from what I could tell they support both OAuth and ODIC if specified in the scope. While I haven't found a specific client library for Ping Indentity, I did find packages like python-social-auth and django-allauth which inc

Re: External SSO for Django

2019-12-26 Thread Malik Brahimi
23, 2019 at 11:49 AM Daniel Chimeno > wrote: > >> Also interested >> >> El lunes, 23 de diciembre de 2019, 4:14:21 (UTC+1), Malik Brahimi >> escribió: >>> >>> Just had a question about integrating external auth with my React/Django >>> applicat

External SSO for Django

2019-12-22 Thread Malik Brahimi
Just had a question about integrating external auth with my React/Django application. I'm using a provisioned client instance from my company so it's not Google, Facebook, or all the other social auth backends that exist as django packages. I'd like to be able to SSO authenticate Django user ob

New Decorator Routing for Django

2017-08-20 Thread Malik Brahimi
Hey guys! Do you mind checking out my new package and letting me know what you think? Essentially it is a Flask inspired routing system for Django (only Python2.x) that works by recursively searching through a folder, for example: pip install djroute urls.py from djroute import root, traver