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
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,
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/,
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:
>
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
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