Re: Django Rest Framework support for Django 4.2

2024-01-04 Thread Priyanka Sharma
) and >>> DRF 3.14.0 (latest release) in a requirements file, I will be good to go? >>> >>> Thank you in advance. >>> >>> Alex >>> >>> On Friday, May 26, 2023 at 11:45:30 AM UTC-4 croch...@gmail.com wrote: >>> >>>>

How to upload a folder in Django Rest Framework, or a zip file

2023-08-15 Thread abu yahya Diab
Hi guys, I want to upload a folder or a zip file then exracting its content, and save everything in the database. I'm using Djanogo Rest Framework -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this grou

Re: Django Rest Framework support for Django 4.2

2023-07-06 Thread Alex Clough
nd >> DRF 3.14.0 (latest release) in a requirements file, I will be good to go? >> >> Thank you in advance. >> >> Alex >> >> On Friday, May 26, 2023 at 11:45:30 AM UTC-4 croch...@gmail.com wrote: >> >>> Hi, if you need install the master/main branch

Re: Django Rest Framework support for Django 4.2

2023-07-06 Thread carlos
; > On Friday, May 26, 2023 at 11:45:30 AM UTC-4 croch...@gmail.com wrote: > >> Hi, if you need install the master/main branch you try this >> pip install >> https://github.com/encode/django-rest-framework/archive/refs/heads/master.zip >> if you do not want to wait for the

Re: Django Rest Framework support for Django 4.2

2023-07-06 Thread Alex Clough
all the master/main branch you try this > pip install > https://github.com/encode/django-rest-framework/archive/refs/heads/master.zip > if you do not want to wait for the tag 3.15 > > cheers > > On Fri, May 26, 2023 at 9:33 AM Vitan Ivanov wrote: > >> Hey Carlos, thanks for t

Re: Django Rest Framework support for Django 4.2

2023-05-26 Thread carlos
Hi, if you need install the master/main branch you try this pip install https://github.com/encode/django-rest-framework/archive/refs/heads/master.zip if you do not want to wait for the tag 3.15 cheers On Fri, May 26, 2023 at 9:33 AM Vitan Ivanov wrote: > Hey Carlos, thanks for the fast re

Re: Django Rest Framework support for Django 4.2

2023-05-26 Thread Vitan Ivanov
ems like >> it's the most appropriate version to start projects or upgrade to. >> >> Does anybody know when the new version of DRF which would support Django >> 4.2 is expected? >> >> -- >> You received this message because you are subscribed to the Google Groups &g

Re: Django Rest Framework support for Django 4.2

2023-05-26 Thread carlos
Hi, i think DRF now support D4.2 https://github.com/encode/django-rest-framework#requirements Cheers On Fri, May 26, 2023 at 5:33 AM Vitan Ivanov wrote: > Hello group! > > Django 4.2 is listed as an LTS version in the release notes > <https://docs.djangoproject.com/en/4.2/re

Django Rest Framework support for Django 4.2

2023-05-26 Thread Vitan Ivanov
o 4.2 is expected? -- 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. To view this discussion

Django Rest Framework nested serializer returns empty list

2023-03-29 Thread Lodger Mtui
manage to post using this endpoint, but if I want to get from other endpoint, it returns an empty list. I have posted the source code on Stack Overflow as shown in the link below:- https://stackoverflow.com/questions/75868539/django-rest-framework-nested-serializer-returns-empty-list Regards, Lodger

Dear participants Django REST framework could you take part in our survey please?

2023-01-23 Thread Orange DataCore
d team developers whose projects are implemented in Django. There are no product ads here and the purpose of this survey is only to determine the relevance of the problems that developers most often face. -- You received this message because you are subscribed to the Google Groups "Django RES

Django REST FRAMEWORK API

2022-12-22 Thread ramana manickam
please sent the complete clarification for the DJANGO RESTFRAMEWORK API from scratch -- 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 d

OTP verification in Django rest framework

2022-08-17 Thread Salima Begum
'name': first_last_initial(email), 'time': settings.SESSION_IDLE_TIMEOUT, 'phone_hide': phone_hide}) and how to write in Django rest framework for otp verification. Please help me. Thank you ~Salima -- Y

Django REST Framework PUT request to update an image

2022-06-23 Thread Jessica Dyer
I have managed to use the Django REST-framework to upload an image associated with an item. However, the PUT request throws an error (400) when attempting to update the image. Here is the code: - Model: - image = models.ImageField(upload_to="images/", blank=True,

What is the proper way to upload files using FileField in Models and Serializers in Django Rest Framework?

2022-04-01 Thread Khubaib Khawar
m doing. Any help will surely be 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.

How do I access User Model field in the Serializer of extended User Model in Django Rest Framework?

2022-03-30 Thread Khubaib Khawar
I am creating a simple registration/login app in Django Rest Framework using Rest APIs with Django Rest Knox’s authentication, in which, upon registration, user will also upload a CSV File (which is an optional field). I have a Person Model which is an extended (derived or OneToOne) Model

Need ValidationError along with params in Django REST Framework

2022-03-17 Thread Kedar Navare
Hello all, The ValidationError raised by Django REST Framework doesn't include params like how Django's Validation error includes it. The REST Framework catches Django's Validation Error and raises it's Validation error which doesn't include params. Is there any way to keep params in the REST

Re: Firebase integration with Django REST framework

2022-03-17 Thread Krishna Madhavan
Hi Ilija, I've had personal experience with working on Django REST Framework + Firebase. There are many good technical blogs out there to help us integrate Firebase services with DRF. I would be able to give you some recommendations but would like to know which Firebase service you would

Firebase integration with Django REST framework

2022-03-07 Thread i
Dear all! does anybody have some recommendation about good resources for integration of Django REST framework with Firebase? And generally what is experience in integration of this two? Thanks in advance, Ilija -- You received this message because you are subscribed to the Google Groups

Recomendation for forum package/app for Django Rest Framework

2022-03-07 Thread Waqar Ali
the functionality so please recoment keeping this in mind. 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

wahat are the basics of django rest framework to start.

2022-02-09 Thread Savi Jaglan
I am a begginer, trying to learn django and django rest framework. i have few questions. Don't know whether they are silly to ask or not. please bear with me. 1. what is the simple definition or api and microservice. what's the differnce between these two? 2. why we use api? 3. how to know it's

Re: Query on building a business logic layer using django rest framework

2021-09-03 Thread Deepak Kotian
d way to do it. >> >> >> On Thursday, September 2, 2021 at 2:24:23 AM UTC+5:30 Deepak Kotian wrote: >>> >>> Hi, >>> I am new to django rest framework and what I see that the CRUD operation on >>> a database tables using model is easy and quick. &

Re: Query on building a business logic layer using django rest framework

2021-09-03 Thread Umair Ramzan
ay to do it. > > > On Thursday, September 2, 2021 at 2:24:23 AM UTC+5:30 Deepak Kotian wrote: > >> Hi, >> I am new to django rest framework and what I see that the CRUD operation >> on a database tables using model is easy and quick. >> Query: >> If I want to

Re: Query on building a business logic layer using django rest framework

2021-09-02 Thread Deepak Kotian
ould someone please suggest good way to do it. On Thursday, September 2, 2021 at 2:24:23 AM UTC+5:30 Deepak Kotian wrote: > Hi, > I am new to django rest framework and what I see that the CRUD operation > on a database tables using model is easy and quick. > Query: >

Query on building a business logic layer using django rest framework

2021-09-01 Thread Deepak Kotian
Hi, I am new to django rest framework and what I see that the CRUD operation on a database tables using model is easy and quick. Query: If I want to build a business logic with REST api implemented in django with multiple table hits in the same rest api end point and may create/update multiple

Re: Bad request Django rest framework

2021-07-26 Thread manohisoa guy aimar
avatar = models.ImageField(upload_to='avatar', blank=True, null=True) > > On Saturday, July 24, 2021 at 2:39:31 PM UTC+3 manohiso...@gmail.com > wrote: > >> >> Hello everyone >> A few days ago I made a school project which consists in doing chat or >> almost mini social netwo

Re: Bad request Django rest framework

2021-07-26 Thread Mustefa Kamil
l network, I use as backend django rest framework because > it is easy and fast for development, and I use as front-end Kivy client. But > I encountered a problem that I can't solve it, obviously I searched > everything on the web but it gives me the same result, here is my code: > mo

Bad request Django rest framework

2021-07-24 Thread manohisoa guy aimar
Hello everyone A few days ago I made a school project which consists in doing chat or almost mini social network, I use as backend django rest framework because it is easy and fast for development, and I use as front-end Kivy client. But I encountered a problem that I can't solve

django-rest-framework-social-oauth2 & Client secret

2021-04-19 Thread Stats Student
Hi, I am working on setting up django-rest-framework-social-oauth2 and I am able to get the tests in the official README to run. However, the few examples in the docs require the Client Secret in the URL. As I don't want to publish the Client Secret in an SPA, I am wondering if there is another

GraphWrap: extend your Django REST Framework API with a GraphQL interface with just two of lines of code.

2021-03-09 Thread Paul Gilmartin
Hi all, I recently built a Django REST Framework extension library, which, by adding only two of lines of code to your django project, can extend an existing Django REST Framework API with a GraphQL <https://graphql.org/learn/> interface. Pypi: https://pypi.org/project/graph-wrap/

Django Rest Framework Serializer not printing nested relationship

2021-02-27 Thread Sebas Bond
quot;0.00" } notice the the items subresource is not being included. What am i missing? -- 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 emai

Re: Reset password in django rest framework

2021-01-21 Thread Abdulla Ansari
https://www.youtube.com/watch?v=2kKwPk5qPUs=1285s this will help in reseting your password using rest framework On Wednesday, 2 December 2020 at 23:15:37 UTC+5:30 yashwanth balanagu wrote: > Hey guys, > > Anyone know how to do reset password or forgot password in django rest &g

Re: Reset password in django rest framework

2021-01-21 Thread Kanhaiya Agnihotri
run in terminal: python manage.py changepassword user_name On Wednesday, December 2, 2020 at 11:15:37 PM UTC+5:30 yashwanth balanagu wrote: > Hey guys, > > Anyone know how to do reset password or forgot password in django rest > framework > > Mainly resources are very

Reset password in django rest framework

2020-12-02 Thread yashwanth balanagu
Hey guys, Anyone know how to do reset password or forgot password in django rest framework Mainly resources are very less. so if anyone know please let me know -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubs

Re: How to convert Stored procedure logic to Django rest framework

2020-11-15 Thread Carl Nobile
ltiple > tables) > we have an initiative to move the backend to Django rest framework > > hence just wanted suggestions what is the best practice in DRF for such > use cases and if any one could direct me o some useful content to get > started > > Thank You > Regards

How to convert Stored procedure logic to Django rest framework

2020-11-15 Thread brijesh dutta
Hi All, i am new to DRF We have an existing application in .NET which uses complex stored procedures (mainly taking dataset as a paramter and inserting the data into multiple tables) we have an initiative to move the backend to Django rest framework hence just wanted suggestions what

Re: How to make my own model authentication and authorizations in Django Rest Framework

2020-10-03 Thread Matemática A3K
odel for API view which I have >>> developed from scratch and what is the best way to implement these >>> concepts. please help. >>> Thank you >>> >>> -- >>> You received this message because you are subscribed to the Google >>> G

Re: How to make my own model authentication and authorizations in Django Rest Framework

2020-10-01 Thread Osama Imran
u >> >> -- >> 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.

Re: How to make my own model authentication and authorizations in Django Rest Framework

2020-09-30 Thread Carl Nobile
lp. > Thank you > > -- > 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. >

How to make my own model authentication and authorizations in Django Rest Framework

2020-09-30 Thread Osama Imran
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. To view this discussion on the web visit https://groups.google.com/d/msgid/d

how to update child record from parent url aceess in django rest framework

2020-09-28 Thread John Robert
https://stackoverflow.com/questions/64097797/how-to-update-child-record-from-parent-url-aceess-in-django-rest-framework please check this link -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this grou

Updating models with unique fields in Django Rest Framework

2020-09-28 Thread Pradyum Gupta
Can one solve this issue https://stackoverflow.com/q/64099264/7999665 Regards -- 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

duplicate key value violates unique constraint django rest framework

2020-09-27 Thread Pradyum Gupta
mes as some field are marked unique in that case ``` duplicate key value violates unique constraint ``` -- I understand Technically it's correct is there any simple approach rather than this level of workaround. -- You received this message because you are subscribed to the Google Groups &

Re: ListCreateAPIView Django rest framework Method \"POST\" not allowed

2020-09-26 Thread Pradyum Gupta
> > > > But error am receiving this is on postman > > ``` > > { > > "detail": "Method \"POST\" not allowed." > > } > > ``` > > > > on the terminal and tried PDB to check whether the function is getting >

Re: ListCreateAPIView Django rest framework Method \"POST\" not allowed

2020-09-25 Thread Linovia
/company/Reg/ HTTP/1.1" 405 41 > ``` > > let me know if you are looking for more details. > > Thanks in advance > > Regards > Please also find the same question here > https://stackoverflow.com/q/64063496/7999665 > > -- > You received this message because

ListCreateAPIView Django rest framework Method \"POST\" not allowed

2020-09-25 Thread Pradyum Gupta
5 -- 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. To view this discussion on the web vi

Re: Digest for django-rest-framework@googlegroups.com - 3 updates in 2 topics

2020-09-24 Thread Pradyum Gupta
ULL, null=True, blank=False) ``` The Project structure was quite large so did not find appropriate to share all of that here. Therefore shared a snippet. Regards Pradyum From: "django-rest-framework@googlegroups.com&

Re: Create an invitation link using django rest framework?

2020-09-23 Thread naveen Kumar
directly > join the company but using the Django rest framework is there any method > that you can refer? > > see things that I have in my mind coming is that I can put company_id in > hash inside a link and then when a user will come with that hash I can > compare it and onboa

Re: Create an invitation link using django rest framework?

2020-09-23 Thread Matemática A3K
company but using the Django rest framework is there any method > that you can refer? > > see things that I have in my mind coming is that I can put company_id in > hash inside a link and then when a user will come with that hash I can > compare it and onboard the user. > but in that c

Create an invitation link using django rest framework?

2020-09-21 Thread Pradyum Gupta
am looking for some advice/Mentorship. wanted to create an *invitation link for onboarding user to a company* similarly slack does by sending company employees email so that they could directly join the company but using the Django rest framework is there any method that you can refer? see

How to send mail along with update method in viewsets in Django Rest Framework?

2020-07-21 Thread Shishir Jha
here am I going wrong ? And what is the correct way to do it? -- 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...@

Re: Django Rest Framework Validation Order Issue

2020-07-01 Thread Brent O'Connor
the 'run_validation' shouldn't generally be >>>> overridden, what you can override is the 'validate' method which is called >>>> by 'run_validation'. >>>> ~Carl >>>> >>>> On Tue, Jun 30, 2020 at 5:51 PM Brent O'Connor >>>

Re: Django Rest Framework Validation Order Issue

2020-07-01 Thread Özgür Akçalı
e 'validate' method which is called >>> by 'run_validation'. >>> ~Carl >>> >>> On Tue, Jun 30, 2020 at 5:51 PM Brent O'Connor >>> wrote: >>> >>>> For anyone that might come across this thread, I went ahead and created an >

Re: Django Rest Framework Validation Order Issue

2020-06-30 Thread Brent O'Connor
gt; For anyone that might come across this thread, I went ahead and created an >> issue <https://github.com/encode/django-rest-framework/issues/7394> for >> this on Github. >> >> On Friday, June 26, 2020 at 5:08:03 PM UTC-5, Brent O'Connor wrote: >>> >>>

Re: Django Rest Framework Validation Order Issue

2020-06-30 Thread Carl Nobile
: > For anyone that might come across this thread, I went ahead and created an > issue <https://github.com/encode/django-rest-framework/issues/7394> for > this on Github. > > On Friday, June 26, 2020 at 5:08:03 PM UTC-5, Brent O'Connor wrote: >> >> I created an example project

Re: Django Rest Framework Validation Order Issue

2020-06-30 Thread Brent O'Connor
For anyone that might come across this thread, I went ahead and created an issue <https://github.com/encode/django-rest-framework/issues/7394> for this on Github. On Friday, June 26, 2020 at 5:08:03 PM UTC-5, Brent O'Connor wrote: > > I created an example project > <

Re: Django Rest Framework Validation Order Issue

2020-06-29 Thread Brent O'Connor
l errors and not the custom validation logic errors. This >>>> ends up being a bad user experience because the user can fix the field >>>> error and then when post another request they can end up getting errors >>>> thrown in the custom validation. I'm thinking t

Re: Django Rest Framework Validation Order Issue

2020-06-27 Thread Brent O'Connor
they can end up getting errors >> thrown in the custom validation. I'm thinking this might need to be an >> issue added the DRF project on Github, but thought I would check here >> first. Please see the project example for more details. >> >> -- >> You received th

Re: Pytest + Django Rest Framework

2020-05-27 Thread João Batista
o pelo sonarqube, assim como faço com o pytest? Agradeço desde já pela ajuda. Em quarta-feira, 27 de maio de 2020 13:45:40 UTC-3, Fernando Augusto Rodrigues de araujo escreveu: > > Fala João, você já pensou em usar a própria api de testes do Django e do > Django Rest Framework ? > > C

Re: Pytest + Django Rest Framework

2020-05-27 Thread Fernando Augusto Rodrigues de araujo
Fala João, você já pensou em usar a própria api de testes do Django e do Django Rest Framework ? Com isso você consegue testar facilmente as suas querys se forem através do próprio ORM do Django, te dando assim uma cobertura maior do código. Em relação aos testes unitários com o banco de dados

Pytest + Django Rest Framework

2020-05-26 Thread João Batista
loaded yet.``, alguma solução pra isso ou método mais simples de executar os testes dentro das views? Agradeço a atenção de todos. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving

Re: Behaviour driven development in Django rest framework.

2020-05-03 Thread Carl Nobile
t testing, integration testing > or acceptance testing? > > Thanks > > Ref : https://behave.readthedocs.io/en/latest/ > > -- > You received this message because you are subscribed to the Google Groups > "Django REST framework" group. > To unsubscribe from this g

Behaviour driven development in Django rest framework.

2020-05-03 Thread Tom Victor
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. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest

Re: Connect to MongoDB Atlas using Django Rest Framework

2020-04-29 Thread Thousand Nano
ding a movie review webpage as a project using Angular and Django > Rest Framework. I want to connect to MongoDB Atlas or MongoDB, but I am not > getting a proper resource online to configure it in latest django version. > Please help me by providing steps for configuring the mongoDB in dja

Connect to MongoDB Atlas using Django Rest Framework

2020-04-26 Thread Lawrence Thanakumar
Hello All, I am building a movie review webpage as a project using Angular and Django Rest Framework. I want to connect to MongoDB Atlas or MongoDB, but I am not getting a proper resource online to configure it in latest django version. Please help me by providing steps for configuring

How do I create an API endpoint with django rest framework jwt for when user is logged_in?

2020-04-19 Thread John Gartsu
I am trying to create an endpoint for when a user is logged in to check the status of user is logged in react js. For my backend, I use django rest-framework. Here is the backend code. serializers.py: from rest_framework import serializers from rest_framework_jwt.settings import api_settings

Re: How to upload multiple image files in django rest framework?

2020-04-14 Thread Mark Phillips
iewSet): > queryset = AdImage.objects.all() > serializer_class = AdImageSerializer > parser_classes = (MultiPartParser, FormParser,) > > -- > You received this message because you are subscribed to the Google Groups > "Django REST framework" group. > To

How to upload multiple image files in django rest framework?

2020-04-14 Thread Talha Amjad
here is my viewset class AdImageViewset(ModelViewSet): queryset = AdImage.objects.all() serializer_class = AdImageSerializer parser_classes = (MultiPartParser, FormParser,) -- You received this message because you are subscribed to the Google Groups "Django REST framework" g

Re: Android + Django rest framework

2020-02-25 Thread Gonzalo Amadio
please anyone tell me how i can connect my Django rest API with Android > mobile application > > -- > 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

Android + Django rest framework

2020-02-25 Thread Zain Mehar
please anyone tell me how i can connect my Django rest API with Android mobile application -- 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

Re: Retrieving Unrelated Objects in Django REST Framework

2020-01-20 Thread Gonzalo Amadio
onal > database design. > > Any help would be greatly appreciated. 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 it, send

Retrieving Unrelated Objects in Django REST Framework

2020-01-20 Thread Foobar
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. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framewor

Re: How to create django-rest-framework without authentication

2019-10-30 Thread Gonzalo Amadio
In the settings you have t configure no authentication. Here you have a reference: https://stackoverflow.com/questions/27085219/how-can-i-disable-authentication-in-django-rest-framework El mar., 29 oct. 2019 23:48, Sajan s escribió: > Hi All, > > i am creating my new API using dj

How to create django-rest-framework without authentication

2019-10-29 Thread Sajan s
Hi All, i am creating my new API using django-rest-framework. we have Open API will do all authentication. new API doesn't required any authentication. Is it possible to create API without authentication and Table Thanks & Regards, Sajan -- You received this message because

New package: django-rest-framework-features

2019-10-24 Thread balintb
Hello there, I've created a shiny new package, for naming the schema endpoints, and doing awesome stuff with that information. You can find the medium article <https://medium.com/@cloudcode.bbb/how-to-build-your-django-rest-framework-api-based-on-named-features-97432ce07969

Re: Does Django REST framework supports django 3 alpha release ?

2019-10-01 Thread Carlton Gibson
I think (but need to check) that DRF’s master branch is already compatible with Django 3.0a1. Before Django 3.0 is released Django REST Framework will have a compatible release available. (The current “preview” period is precisely for this purpose.) > On 1 Oct 2019, at 07:42, PK P. wr

Does Django REST framework supports django 3 alpha release ?

2019-09-30 Thread PK P.
Does Django REST framework supports django 3 alpha release ? What is the timeline of REST framework for django 3 ? https://docs.djangoproject.com/en/3.0/releases/3.0/ https://code.djangoproject.com/wiki/Version3.0Roadmap -- You received this message because you are subscribed to the Google

Re: How to log request and response for 4XX Http status in Django Rest Framework?

2019-08-21 Thread 'Thomas Klaver' via Django REST framework
lid > response with error details for 4XX. > > I want to log request and response of any API call which fails with 4XX. > > > > Currently the log only shows Bad Request : /path/api/ > > > -- > You received this message because you are subscribed to th

How to log request and response for 4XX Http status in Django Rest Framework?

2019-08-21 Thread kumar deepak
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. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest

logo usage for course picture to show people about that is related to Django Rest Framework

2019-07-27 Thread Oğuzhan
I really love django rest framework and I want to make a course where i can teach people how to use Django Rest Framework and i want to use django rest framework's logo in my course cover picture. because i need to engage attention. can i use it? -- You received this message because you

How to filter queryset for serializing a nested serializer using instance in django rest framework?

2019-05-29 Thread Rahul Sarma
options is not directly related to Question and the options field needs to be writable. -- 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 d

"'MongoClient' object is not iterable" in Django Rest Framework

2019-05-21 Thread Gautam Ajani
gle 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. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/776f30f0-fbc3-4c

Django REST Framework v3.9.3

2019-04-29 Thread Carlton Gibson
Django REST Framework v3.9.3 is now available on PyPI. This will be the last version of Django REST Framework to support Python 2, so if you're on that, update now. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubs

Re: getting keyError: 'request' i am getting this error when i am to create an evaluation test i am newbie to django rest framework can somebody help me why i am getting this error

2019-04-09 Thread Gonzalo Amadio
;>>>>> if self.context["request"].method == "POST": >>>>>> self.questions = QuestionSerializer(data=questions, many=True) >>>>>> self.questions.is_valid(raise_exception=True) >>>>>> elif self.context["

Re: getting keyError: 'request' i am getting this error when i am to create an evaluation test i am newbie to django rest framework can somebody help me why i am getting this error

2019-04-08 Thread zohaib younis
ions: >>>>> self.new_questions = QuestionSerializer( >>>>> data=self.new_questions, many=True) >>>>> self.new_questions.is_valid(raise_exception=True) >>>>> return data >>>>> >>>>> def create(self, data): >>

Re: getting keyError: 'request' i am getting this error when i am to create an evaluation test i am newbie to django rest framework can somebody help me why i am getting this error

2019-04-08 Thread zohaib younis
;>>> for question in data['questions']: >>>> question.evaluationtest = evaluation_test >>>> question.save() >>>> return evaluation_test >>>> >>>> def update(self, instance, validated_data): >>>> instance.title = validated_d

Re: getting keyError: 'request' i am getting this error when i am to create an evaluation test i am newbie to django rest framework can somebody help me why i am getting this error

2019-04-08 Thread zohaib younis
category = validated_data.get["category", instance.category] >> instance.admin = validated_data.get["admin", instance.admin] >> >> for question in self.questions: >> q = QuestionSerializer(instance=question["id"], data=question) >> q.is_valid(raise_excep

Re: getting keyError: 'request' i am getting this error when i am to create an evaluation test i am newbie to django rest framework can somebody help me why i am getting this error

2019-04-08 Thread Arbaz Hundekar
QuestionSerializer(instance=question["id"], data=question) > q.is_valid(raise_exception=True) > q.save() > > if self.new_questions: > new_questions = self.new_questions.save() > for question in new_questions: > question.save() > return instance > >

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 wondering if I should

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 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

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, it shows

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: `Serializer

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

2019-01-28 Thread El_merendero
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 checker method inde

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.github.io/

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 token's p

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 > "Djang

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 fro

  1   2   >