Third Party Package - django-rest-framework-condition

2019-03-22 Thread jozo
Hi, recently I needed to use @condition decorator from Django on my DRF ViewSets. It didn't work and I didn't find some package that would (correctly) solve it. So I created new one, you can find it here: https://github.com/jozo/django-rest-framework-condition I'm wonder

Re: how to use multithreading concepts in Django Rest Framework?

2019-03-12 Thread Abhinav Mehta
gt;> >> On Mon, Mar 11, 2019 at 10:32 PM mohamed fazil >> wrote: >> >>> I am using Django rest framework. I had a rest URL when i call that URL >>> at a time from various 3, 4 streaming client, I got a response from only >>> one client remaining clie

Re: how to use multithreading concepts in Django Rest Framework?

2019-03-12 Thread Abhinav Mehta
10:32 PM mohamed fazil >> wrote: >> >>> I am using Django rest framework. I had a rest URL when i call that URL >>> at a time from various 3, 4 streaming client, I got a response from only >>> one client remaining client not responding me for that purpose only I

Re: how to use multithreading concepts in Django Rest Framework?

2019-03-12 Thread mohamed fazil
; Fazil > Skits Private Ltd. > > > On Tue, Mar 12, 2019 at 8:38 PM Mark Phillips > wrote: > >> Have you looked at celery and redis? >> >> Mark >> >> On Mon, Mar 11, 2019 at 10:32 PM mohamed fazil >> wrote: >> >>> I am using Django r

Re: how to use multithreading concepts in Django Rest Framework?

2019-03-12 Thread mohamed fazil
n, Mar 11, 2019 at 10:32 PM mohamed fazil > wrote: > >> I am using Django rest framework. I had a rest URL when i call that URL >> at a time from various 3, 4 streaming client, I got a response from only >> one client remaining client not responding me for that pu

Re: how to use multithreading concepts in Django Rest Framework?

2019-03-12 Thread Mark Phillips
Have you looked at celery and redis? Mark On Mon, Mar 11, 2019 at 10:32 PM mohamed fazil wrote: > I am using Django rest framework. I had a rest URL when i call that URL at > a time from various 3, 4 streaming client, I got a response from only one > client remaining client not resp

how to use multithreading concepts in Django Rest Framework?

2019-03-11 Thread mohamed fazil
I am using Django rest framework. I had a rest URL when i call that URL at a time from various 3, 4 streaming client, I got a response from only one client remaining client not responding me for that purpose only I want to know how to use multithreading in Django rest framework? how to resolve

Unable to test @detail_route and @list_route using Django Rest Framework 3.7.7

2019-03-06 Thread Fabio Andrés García Sánchez
I'm using Django Rest Framework 3.7.7. What I want to do is test all my list_route and detail_route methods on the view to achieve 100% with coverage but: 1. I couldn't get to pass values when trying to test a detail_route. I got to call the method, using .post but on the view

Compatibility between Django Rest Framework versions

2019-02-15 Thread Pavlo Ivanchyshyn
I'm trying to add a new record into Mongo DB using Django REST Framework: def post(self, request, *args, **kwargs): data = request.data serializer = self.serializer_class(data=data) serializer.is_valid(raise_exception=True) During data serialization I've got an error: `

Re: Django Rest Framework JWT - OperationalError: no such table: auth_user

2019-01-28 Thread El_merendero
r doesn't exist." error. If is not a problem, I ask you another question: my final target is to verify a JWT without the username information. I'm documenting about "Django REST framework JWT" and I think that it only expects to receive a JWT with username (it has the user che

Re: Django Rest Framework JWT - OperationalError: no such table: auth_user

2019-01-28 Thread Arthur Rio
ope this help. Regards — Arthur On January 28, 2019 at 3:29:47 PM, El_merendero (carlopole...@gmail.com) wrote: Hi all, I'm developing a Django application for Windows with Pyhton 2.7.15. I need to implement an authentication mechanism with Django REST Framework JWT <https://getblimp.githu

Django Rest Framework JWT - OperationalError: no such table: auth_user

2019-01-28 Thread El_merendero
Hi all, I'm developing a Django application for Windows with Pyhton 2.7.15. I need to implement an authentication mechanism with Django REST Framework JWT <https://getblimp.github.io/django-rest-framework-jwt/> where I simply need to verify a token (and not to generate it). The toke

Re: I am moving my existing project backend from php to Django rest framework to create rest api's.And also i need to retain my existing data. can any one help me?

2018-12-08 Thread Wanderley S
:13, ankit mahajan need help to retain my existing data. > The database i am using is mysql. > can any one suggest me some solutions or guide me to resolve this problem. > > -- > You received this message because you are subscribed to the Google Groups > "Django REST framew

Re: I am moving my existing project backend from php to Django rest framework to create rest api's.And also i need to retain my existing data. can any one help me?

2018-12-08 Thread nsamba taufeeq
, 2018, 21:13 ankit mahajan need help to retain my existing data. > The database i am using is mysql. > can any one suggest me some solutions or guide me to resolve this problem. > > -- > You received this message because you are subscribed to the Google Groups > "Django REST

I am moving my existing project backend from php to Django rest framework to create rest api's.And also i need to retain my existing data. can any one help me?

2018-12-08 Thread ankit mahajan
need help to retain my existing data. The database i am using is mysql. can any one suggest me some solutions or guide me to resolve this problem. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this

Django REST Framework with Django OAuth Toolkit

2018-11-05 Thread Foobar
shed some light on how this should work and if there is any sample code I can look at, that would be great. Thanks. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from i

Doubt with Nested relations One to many in django rest framework.

2018-08-28 Thread Mishra
the entity( like task here) and associating it with another model (like consumer here). -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email t

Django rest framework giving a 403 forbidden “CSRF token missing or incorrect.” when sending through a post request using Angular only when user is logged in.

2018-05-26 Thread Marcus Grass
DRF is sessionauthentication. Anyone have any clues what might be going wrong here? -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-

Re: The autoogrnerated API docs(From the core of Django Rest framework) doesn't support endpoints like /accounts/password-reset.

2018-05-19 Thread Ravi Bhushan
to The autoogrnerated API docs(From the core of Django Rest > framework). > For generation I use generics, viewsets, mixins. > Simple example: > users/ - Displayed in documentation > users/{id} - Displayed in documentation > users/personal-profile - Not displayed in

Re: API Documentation - Django REST Framework Docs

2018-05-19 Thread Ravi Bhushan
> I have developed a tool for which generates an inventory and documentation > for your Django REST Framework URL endpoints based on your code and your > docstring comments. Link to the repo is below. Contributions are most > welcome! > https://github.com/marcgibbons/django-rest-framew

advance rest client use django rest framework

2018-05-04 Thread shubhamnv211
advance rest client post data to my sql table without use html page use form submission disable csrf_token -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from i

Re: Status 404 on css files when deploying Django Rest Framework on Heroku

2018-05-03 Thread Athanasios Garyfalos
; Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C. Looking forward to your reply. Best Regards, Thanos -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop rece

Re: Status 404 on css files when deploying Django Rest Framework on Heroku

2018-04-30 Thread Alberto Luebbert M.
sign :) Greetings from Mexico, Alberto On Monday, March 5, 2018 at 1:46:56 PM UTC-6, Athanasios Garyfalos wrote: > > Hello again, > > I guess this is a very common question on new Api(s) with Django Rest > Framework. > > After spending 9 hours (just today the rest of the

Re: Django Rest Framework File Upload

2018-04-30 Thread ray
onday, 30 April 2018 19:49:06 UTC+1, Prasanna Balaraman wrote: > > Follow the steps mentioned in this blog and you should be able to > accomplish it. > > https://blog.vivekshukla.xyz/uploading-file-using-api-django-rest-framework/ > > Thanks, > > [image: freshworks

Re: Django Rest Framework File Upload

2018-04-30 Thread Prasanna Balaraman
Follow the steps mentioned in this blog and you should be able to accomplish it. https://blog.vivekshukla.xyz/uploading-file-using-api-django-rest-framework/ Thanks, [image: freshworks-dew.png] Prasanna Balaraman Team Enabler p : +91-9940112996 e : prasanna.balara...@freshworks.com w

Django Rest Framework File Upload

2018-04-30 Thread ray
cts.all() def get_queryset(self, *args, **kwargs): qs = super(FileUploaderViewSet, self).get_queryset(*args, **kwargs) # qs = qs.filter(owner=self.request.user) return qs -- You received this message because you are subscribed to the Google Groups "

Re: What are the best sources to learn Django rest framework

2018-04-18 Thread vallabh vyas
utorials-and-resources/ > https://realpython.com/django-rest-framework-quick-start/ > > https://codeburst.io/building-an-api-with-django-rest-framework-and-class-based-views-75b369b30396 > > https://blog.apptension.com/2017/09/13/simple-nested-api-using-django-rest-framework/ > &g

Re: What are the best sources to learn Django rest framework

2018-04-18 Thread RobertF
Check out these links: http://www.django-rest-framework.org/topics/tutorials-and-resources/ https://realpython.com/django-rest-framework-quick-start/ https://codeburst.io/building-an-api-with-django-rest-framework-and-class-based-views-75b369b30396 https://blog.apptension.com/2017/09/13/simple

Ann: django-rest-framework-datatables 0.2.1 released

2018-04-11 Thread David Jean Louis
Hello, I'm happy to announce the availability of the version 0.2.1 of django-rest-framework-datatables: https://pypi.org/project/djangorestframework-datatables/ Django-rest-framework-datatables is a third party app that provides seamless integration between Django Rest Framewor

What are the best sources to learn Django rest framework

2018-04-11 Thread vallabh vyas
I am new to Django and Django rest framework. I wanted to learn more deeply please suggest some best sources to learn Django rest framework. >From there documentation i had learned basics but for my project i need some more flexibility and learning tutuorial. I am trying to build Back

Re: Status 404 on css files when deploying Django Rest Framework on Heroku

2018-03-05 Thread Athanasios Garyfalos
Hello again, I guess this is a very common question on new Api(s) with Django Rest Framework. After spending 9 hours (just today the rest of the days do not count) I finally managed to fixed it. I followed the solution from here (django rest-framework : can't get static files &

Status 404 on css files when deploying Django Rest Framework on Heroku

2018-03-05 Thread Athanasios Garyfalos
Hello everyone, I am new to Django Rest Framework and to REST in general. I followed the really nice REST-Tutorials <http://www.django-rest-framework.org/tutorial/1-serialization/> and I managed to make an API that on my local host is working perfectly. My problem is when I am deploying

Re: Django REST framework Postgresql Heroku : Operational Error - 'FATAL too many connections for role “usename”'

2018-02-15 Thread Tom Christie
jango REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Django REST framework Postgresql Heroku : Operational Error - 'FATAL too many connections for role “usename”'

2018-02-06 Thread Tomiwa Ademidun
I am running a web application using Django and Django Rest Framework on Heroku with a postgresql and redis datastore. I am on the free postgresql tier which is limited to 20 connections. This hasn't been an issue in the past, but recently I started using django channels 2. &

Re: Django REST Framework

2018-01-30 Thread Cynthia Simiyu
t; Hi, > > I don’t think it ever had. What are you referring to ? > > Regards, > Xavier. > > Le 30 janv. 2018 à 11:03, Cynthia Simiyu > a écrit : > > compat.py missing def set_many in version 3.7.7, why? > > -- > You received this message because you are subs

Re: Django REST Framework

2018-01-30 Thread Tom Christie
Indeed. The latest version supports Django 1.10, 1.11, and 2.0. You'll need to either upgrade Django or downgrade REST framework. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop r

Re: Django REST Framework

2018-01-30 Thread Xavier Ordoquy
r. > >> Le 30 janv. 2018 à 11:03, Cynthia Simiyu > <mailto:cynthia.sim...@financeplan.biz>> a écrit : >> >> compat.py missing def set_many in version 3.7.7, why? >> >> -- >> You received this message because you are subscribed to the Google G

Re: Django REST Framework

2018-01-30 Thread Xavier Ordoquy
roups > "Django REST framework" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-rest-framework+unsubscr...@googlegroups.com > <mailto:django-rest-framework+unsubscr...@googlegroups.com>. > For more options

Django REST Framework

2018-01-30 Thread Cynthia Simiyu
compat.py missing def set_many in version 3.7.7, why? -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framewor

how to integrate django rest framework jwt and angular 4 authentication?

2017-12-19 Thread Rakibul Bashar
e which api end point used to login -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Re: how to do crud useradmin in django rest framework

2017-11-21 Thread Matemática A3K
e helpe me. > There is a trailing "/" on the url which your are not requesting. Cheers, Rodrigo -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

how to do crud useradmin in django rest framework

2017-11-21 Thread Angel Omar Rojas Pacheco
Hello everyone I have a problem, with my code please, I doing crud useradmin django rest framework. this is my urls.py urlpatterns = [ url(r'^$', views.ProfileList.as_view()), url(r'^users/$', views.UserList.as_view()), url(r'^users/(?P[0-9]+)/$&#

Re: Django rest framework serializer.save() return “Invalid data. Expected a dictionary, but got group”

2017-11-07 Thread Chris Foresman
LogSerializer(serializers.ModelSerializer): > group = GroupSerializer() > class Meta: > model = Log > fields = ('group', 'created') > > > The post responese: > > { > "group": { > "non_field_errors&quo

Django rest framework serializer.save() return “Invalid data. Expected a dictionary, but got group”

2017-11-06 Thread Gary Ng
onary, but got group." ] }} -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Django REST Framework v3.7.3 Released.

2017-11-06 Thread Carlton Gibson
It's all go today! Django REST Framework v 3.7.2 introduced an `AppRegistryNotReady` error importing the contrib.auth views. This is was speedily reported and resolved. v3.7.3 is no available on PyPI. Enjoy. Kind Regards, Carlton -- You received this message because you are subsc

Django REST Framework v3.7.2 Released

2017-11-06 Thread Carlton Gibson
Hi All. Django REST Framework v3.7.2 is available now. https://github.com/encode/django-rest-framework/releases Enjoy. Kind Regards, Carlton -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this

Re: How do I create a API using Django Rest Framework?

2017-11-04 Thread Davide Muraro
to create a login api (or use an existing one if it is already >> pre-bundled) using django rest framework. However, I'm completely at a loss. >> Whenever I send a post request to the django rest framework "login" url, it >> just sends back the browsable api temp

Re: How do I create a API using Django Rest Framework?

2017-11-03 Thread Дмитрий Ваганов
Can you list some code? What your returning in your method? пятница, 3 ноября 2017 г., 2:28:43 UTC+3 пользователь sakkhar saha написал: > > I want to create a login api (or use an existing one if it is already > pre-bundled) using django rest framework. However, I'm completel

How do I create a API using Django Rest Framework?

2017-11-02 Thread sakkhar saha
I want to create a login api (or use an existing one if it is already pre-bundled) using django rest framework. However, I'm completely at a loss. Whenever I send a post request to the django rest framework "login" url, it just sends back the browsable api template page. -- Yo

Partial Update Failed via Viewset Django Rest Framework

2017-09-18 Thread Ayo Ayo
I want to update a field in my model whenever an object link is called through the api. I'm using Django Rest Framework to handle the creation of api. The link to a single object is example.com/api/pk/ where pk is the object id. In the model viewset, I wrote a partial update meth

Django rest framework update RelatedField

2017-07-03 Thread caozhangni870607_
quot;xx", "prdline": 2, "comment": "dd" } But I can not update the project through the above json,you must use: { "id": 10, "name": "e", "prdline": {

Re: Best Python Visualization libraries that work with Django Rest Framework

2017-06-29 Thread Heather Johnson
son > wrote: > >> We currently are using Django 1.11 and DRF 3. >> >> Can anyone recommend a good visualization library that works well with >> Django Rest Framework? For charts, graphs, etc... that pulls the data from >> the DRF. >> >> I'd

Re: Best Python Visualization libraries that work with Django Rest Framework

2017-06-29 Thread carlos
well with > Django Rest Framework? For charts, graphs, etc... that pulls the data from > the DRF. > > I'd prefer a python library, if possible. But I'm open to any suggestions. > > Thank you! > > -- > You received this message because you are subscribed to the

Best Python Visualization libraries that work with Django Rest Framework

2017-06-29 Thread Heather Johnson
We currently are using Django 1.11 and DRF 3. Can anyone recommend a good visualization library that works well with Django Rest Framework? For charts, graphs, etc... that pulls the data from the DRF. I'd prefer a python library, if possible. But I'm open to any suggestions.

The autoogrnerated API docs(From the core of Django Rest framework) doesn't support endpoints like /accounts/password-reset.

2017-05-18 Thread Александр Иванчик
I used to The autoogrnerated API docs(From the core of Django Rest framework). For generation I use generics, viewsets, mixins. Simple example: users/ - Displayed in documentation users/{id} - Displayed in documentation users/personal-profile - Not displayed in documentation class

Re: Django rest framework (ModelViewSet): insert a parameter before save.

2017-05-15 Thread Sidon
self.data_twt = get_twitter_person(fb_id) > # Here I tried to modify data, but data is read > only > # data['twitter_name'] = self.data_twt['name'] > except: > rais

Re: Django rest framework - nested serializer - retrieve valid records of nested serializer and error for invalid

2017-05-14 Thread Xavier Ordoquy
Hi, You will need to loop on the items and use a serializer on each of them. Regards, Xavier Ordoquy, Linovia. > Le 14 mai 2017 à 07:19, Gaurav Pant a écrit : > > > 0 > down vote > <>favorite > > <http://stackoverflow.com/questions/43960378/django-rest-fra

Django rest framework (ModelViewSet): insert a parameter before save.

2017-05-14 Thread Sidon
except: raise serializers.ValidationError('Id not in Twitter') return data -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Django rest framework - nested serializer - retrieve valid records of nested serializer and error for invalid

2017-05-13 Thread Gaurav Pant
0down votefavorite <http://stackoverflow.com/questions/43960378/django-rest-framework-nested-serializer-retrieve-valid-records-of-nested-ser#> I am retrieving multiple client records at a time using "RegistrationSystemSerializer" serialize here. class Client

Re: Django rest framework request data is always null

2017-03-13 Thread Jani Tiainen
Hi, Looks like your code that calls POST data is incorrect. As you see in printout for some reason included data is strangely wrapped as an object to toplevel item_id. On 10.03.2017 15:27, Sandesh Naroju wrote: I just want to try simple Django rest framework code, I used APIVIEW and posted

Django rest framework request data is always null

2017-03-10 Thread Sandesh Naroju
I just want to try simple Django rest framework code, I used APIVIEW and posted data through browser. CODE: class GetData(APIView): def post(self, request, format=None): if request.method == 'POST': item_id = request.data.ge

Django REST framework 3.6 released

2017-03-09 Thread Tom Christie
1600/api-docs.gif> -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more

CSRF error in Django Rest Framework when the user is logged in

2017-02-17 Thread Tahmid Khan
I am running an API built with Django Rest Framework(DRF). I am using AngularJs for my front-end, mainly for sending the requests to the API. However, I am facing a weird issue: If I am logged in using the admin panel, and I send the POST request, I get this error from my API: CSRF token

Re: URL wih dot in Django Rest Framework

2017-01-11 Thread Xavier Ordoquy
sic regex, but if I use it, any Team object is reachable via my > serialized Rest API. > > How to can I get a url like as: /api/teams/Name.F.C. in my serialized Team > model? > > > -- > You received this message because you are subscribed to the Google Groups > &q

URL wih dot in Django Rest Framework

2017-01-10 Thread Bernardo Garcia
erialized Rest API. How to can I get a url like as: /api/teams/Name.F.C. in my serialized Team model? -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Re: Django Rest Framework Temperature Data Querying

2017-01-04 Thread Marco Silva
> > Database: > > <https://lh3.googleusercontent.com/-T0vWDvxz4o0/WGrQ7VkFUXI/AlM/N66JCp7aDx0uipzPiY2o6vud0eM0ff8eACLcB/s1600/U4tl7.png> > > Current API: > > <https://lh3.googleusercontent.com/-alR7rpm_vc4/WGrREkQNZ7I/AlQ/vfkQcNAl7Q0BWMJ0qI0FNZl-_Y7l

Re: Django Rest Framework Temperature Data Querying

2017-01-04 Thread Burak Özdemir
IntegerField() >>>>> >>>>> class Meta: >>>>> ordering = ['measurementTime'] >>>>> >>>>> def __unicode__(self): >>>>> return str(self.id) >>>>> >>>>> >>>

Re: Django Rest Framework Temperature Data Querying

2017-01-04 Thread Marco Silva
tent.com/-alR7rpm_vc4/WGrREkQNZ7I/AlQ/vfkQcNAl7Q0BWMJ0qI0FNZl-_Y7lSyHIACLcB/s1600/wRbUN.png> > > Thanks in advance. > > > -- > > You received this message because you are subscribed to the Google Groups > "Django REST framework" group. > To unsubscribe

Re: Django Rest Framework Temperature Data Querying

2017-01-03 Thread gordon
.id) >>> >>> >>> >>> Database: >>> >>> <https://lh3.googleusercontent.com/-T0vWDvxz4o0/WGrQ7VkFUXI/AlM/N66JCp7aDx0uipzPiY2o6vud0eM0ff8eACLcB/s1600/U4tl7.png> >>> >>> Current API: >>> >>> <https://lh

Re: Django Rest Framework Temperature Data Querying

2017-01-03 Thread Burak Özdemir
abase: >> >> <https://lh3.googleusercontent.com/-T0vWDvxz4o0/WGrQ7VkFUXI/AlM/N66JCp7aDx0uipzPiY2o6vud0eM0ff8eACLcB/s1600/U4tl7.png> >> >> Current API: >> >> <https://lh3.googleusercontent.com/-alR7rpm_vc4/WGrREkQNZ7I/AlQ/vfkQcNAl7Q0BWMJ0

Re: Django Rest Framework Temperature Data Querying

2017-01-03 Thread Marco Silva
yHIACLcB/s1600/wRbUN.png> > > Thanks in advance. > > > -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Django Rest Framework Temperature Data Querying

2017-01-02 Thread Burak Özdemir
4/WGrREkQNZ7I/AlQ/vfkQcNAl7Q0BWMJ0qI0FNZl-_Y7lSyHIACLcB/s1600/wRbUN.png> Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an em

Django Rest framework jwt decoding

2017-01-01 Thread GAMER BOY
how to decode a jwt token in django to get the user information -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framewor

Re: Digest for django-rest-framework@googlegroups.com - 1 update in 1 topic

2016-12-01 Thread Manjit Kumar
Read source on Github as much as you can and understand how it is working. https://github.com/tomchristie/django-rest-framework On 1 December 2016 at 15:23, wrote: > django-rest-framework@googlegroups.com > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!foru

Re: Django Rest Framework - Could not resolve URL for hyperlinked relationship using view name “field-detail”

2016-11-14 Thread Bernardo Garcia
k. > > Regards, > Xavier, > Linovia. > -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegro

Re: Django Rest Framework - Could not resolve URL for hyperlinked relationship using view name “field-detail”

2016-11-14 Thread Xavier Ordoquy
Hi, You declared your view as "fields" in the routers, so you should use "fields-detail" as the view name for the hyperlink. Regards, Xavier, Linovia. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group.

Django Rest Framework - Could not resolve URL for hyperlinked relationship using view name “field-detail”

2016-11-11 Thread Bernardo Garcia
the `lookup_field` attribute on this field. I don't understand the situations when I should use view_name attribute in relation to if I wnt get a list objects, a object detail and so ... although here <http://stackoverflow.com/a/26989845/2773461> explain something about it. When I

Re: Django REST framework 3.4.7 not support RequestsClient

2016-10-21 Thread Xavier Ordoquy
gards, Xavier, Linovia. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Re: Django REST framework 3.4.7 not support RequestsClient

2016-10-21 Thread korea k
able in REST framework master, and the 3.5 > release should be out very shortly. > -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to dj

Re: Django REST framework 3.4.7 not support RequestsClient

2016-10-20 Thread Tom Christie
subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Re: Django REST framework 3.4.7 not support RequestsClient

2016-10-19 Thread Xavier Ordoquy
tion of RequestsClient。 > > It doesn't exist in rest_framwork.test???? > It looks like it’s there. https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/test.py#L118 <https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/tes

Django REST framework 3.4.7 not support RequestsClient

2016-10-19 Thread korea k
e subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Re: How to make a group-by/count with django rest framework?

2016-08-21 Thread Andrew Backer
up-by-and-order-by If there are DRF specific pieces like how to show it in a serializer, please post a followup. Robert K <mailto:kaus...@gmail.com> August 20, 2016 at 7:03 AM Hi, has anybody an idea how to realize a group-by/count with django rest framework? Im searched around on the int

How to make a group-by/count with django rest framework?

2016-08-19 Thread Robert K
Hi, has anybody an idea how to realize a group-by/count with django rest framework? Im searched around on the internet but cant find a working solution... I have a model with this fields: id, user, session What i want is a count of the users per session. -- You received this message because

Make Django REST framework and Django Channels play nicely

2016-07-27 Thread Roy van der Valk
I want to make the Django REST Framework work with web sockets and came across Django Channels. Can I build Channels on top of the REST Framework? I read here <http://www.django-rest-framework.org/topics/mozilla-grant/#realtime-apis> that it is WIP, however I was wondering if th

django rest framework - request context key error

2016-06-21 Thread Aamu Padi
I have two models (Like and News). I am using django-rest-framework to make a web api out of it. class Like(models.Model): user = models.ForeignKey(User) content_type = models.ForeignKey(ContentType) object_id = models.PositiveIntegerField() content_object = GenericForeignKey

Re: Funding Django REST framework.

2016-05-26 Thread nemesis
x27;m crossing my fingers that we'll actually be able to make sustainable development on the project a reality. Anything you can do to help spread the message very much appreciated. -- You received this message because you are subscribed to the Google Groups "Django REST framew

Funding Django REST framework.

2016-05-26 Thread Tom Christie
very much appreciated. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more

<    1   2