Re: Looking For Django Developer for 2-3months(paid accordingly)

2020-07-18 Thread Asad Habib
Folks, please refrain from responding to the entire list. Send e-mail directly to chaitu.orak...@gmail.com. It's common courtesy. Thanks. On Sat, Jul 18, 2020 at 4:45 AM Wassim wrote: > Check my portfolio at: www.wassim-chaguetmi.com > I'm intrested. > > -- > You received this message because yo

Re: REST Calls to Filter Based On Greater Than, Less Than, or Range

2019-01-03 Thread Asad Habib
Alan, thanks. I've gotten it to work now. Is there a way to replace the __ (double underscore) with a single underscore when applying a filter to a field? For example, instead of score__range=x,y I would like to use score_range=x,y so the Django REST URL is more user friendly. Thanks. On Thu,

Re: Django OAuth Toolkit Login Template

2018-11-02 Thread Asad Habib
Can anyone shed some light on this? Thanks. On Fri, Nov 2, 2018 at 2:54 AM Asad Habib wrote: > Carlos, thanks. But if you look at > https://django.cowhite.com/blog/building-oauth2-services-in-django-with-django-oauth-toolkit/, > when accessing http://localhost:8000/o/applications/,

Re: Django OAuth Toolkit Login Template

2018-11-01 Thread Asad Habib
Carlos, thanks. But if you look at https://django.cowhite.com/blog/building-oauth2-services-in-django-with-django-oauth-toolkit/, when accessing http://localhost:8000/o/applications/, a screen like the following should show up: [image: Apps page] On Fri, Nov 2, 2018 at 12:30 AM carlos wrote: >

Re: Custom Mixin for Mulitple Field Object Lookup in Django REST

2018-10-30 Thread Asad Habib
r > > class UnitViewSet(viewsets.ReadOnlyModelViewSet): > serializer_class = UnitSerializer > queryset = Unit.objects.all() > filter_backends = (SearchFilter, ) > search_fields = ('pk', 'unit_name') > > > On Tue, Oct 30, 2018 at 2:05 PM Asad Habib wr

Re: Custom Mixin for Mulitple Field Object Lookup in Django REST

2018-10-30 Thread Asad Habib
Alan, appreciate your input. Basically, I want to be able to retrieve units based on either a primary key or other attribute. Is this possible using filtering if URLs are being defined using routers? On Tue, Oct 30, 2018 at 8:23 AM Alan Crosswell wrote: > This seems like you are reinventing Sear