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
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
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
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
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
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
6 matches
Mail list logo