Re: Django Rest Framework support for Django 4.2

2024-01-04 Thread Priyanka Sharma
if I am pinning Django 4.2.3 (latest release) 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...@gma

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

Re: Django Rest Framework support for Django 4.2

2023-07-06 Thread Alex Clough
t;> 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
gt; 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

Re: Django Rest Framework support for Django 4.2

2023-07-06 Thread Alex Clough
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
it seems 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

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

Django Rest Framework support for Django 4.2

2023-05-26 Thread Vitan Ivanov
ngo 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 discus

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
hone_hide': phone_hide}) return render(request, 'phone_otp_verify.html', {'id': Qurycustomer.id, 'otp': OTP, 'fullname': fullname(email), 'name': first_last_initi

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
ister') My *template (register.html)* is: *{% load rest_framework %}* ** ** **Register** ** {% csrf_token %} {% render_form serializer %} ** ** ** * * I have tried a lot but I could not figure out what wrong I am doing. Any

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 of

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 t

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 wou

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

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

2021-09-03 Thread Deepak Kotian
ata >> Could 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 dat

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

2021-09-02 Thread Umair Ramzan
data > Could 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

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

2021-09-02 Thread Deepak Kotian
such if & else with multiple data Could 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 mod

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 or

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 so

Re: Bad request Django rest framework

2021-07-26 Thread Mustefa Kamil
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 it, obviously I searched > everything on the web but it gives me the same result, here is m

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 sol

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 an

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
ew is executed this is what's being printed: { "session_id":"4def7bdb-dedb-46aa-9c70-1d9e4f522149", "subtotal":"0.00", "total":"0.00" } notice the the items subresource is not being included. What am i missing? -- You recei

Re: Reset password in django rest framework

2021-01-21 Thread Abdulla Ansari
https://www.youtube.com/watch?v=2kKwPk5qPUs&t=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

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
ta into multiple > 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 &g

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 is

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

2020-10-03 Thread Matemática A3K
ations to any model 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 >>

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

2020-09-30 Thread Osama Imran
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...@googleg

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

2020-09-30 Thread Carl Nobile
please help. > 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

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
ives me this error** ``` already exists ``` and sometimes 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 m

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

2020-09-26 Thread Pradyum Gupta
return str(self.id) > > ``` > > > > Also, note the ```company``` is present in ```INSTALLED_APPS``` > > > > But error am receiving this is on postman > > ``` > > { > > "detail": "Method \"POST\" not allowed." > >

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

2020-09-25 Thread Linovia
nction is getting called > ``` > Method Not Allowed: /company/Reg/ > [Date and Time] "POST /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 he

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

2020-09-25 Thread Pradyum Gupta
in advance Regards Please also find the same question here https://stackoverflow.com/q/64063496/7999665 -- 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, se

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

2020-09-24 Thread Pradyum Gupta
dels.SET_NULL, 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@googlegrou

Re: Create an invitation link using django rest framework?

2020-09-24 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 t

Re: Create an invitation link using django rest framework?

2020-09-22 Thread naveen Kumar
ctly > 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 onboard the

Re: Create an invitation link using django rest framework?

2020-09-22 Thread Matemática A3K
pany 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
` as soon as I try to update and hence getting `NoneType object has no attribute`. I have checked in database table(MySQL), all the fields are getting set to null. Can anyone tell me why is this happening ? Where am I going wrong ? And what is the correct way to do it? -- You received this m

Re: Django Rest Framework Validation Order Issue

2020-07-01 Thread Brent O'Connor
l and >>>> encouraged, however, the 'run_validation' shouldn't generally be >>>> overridden, what you can override is the 'validate' method which is called >>>> by 'run_validation'. >>>> ~Carl >>>>

Re: Django Rest Framework Validation Order Issue

2020-07-01 Thread Özgür Akçalı
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 >>> wrote: >>> >>>> For anyone that

Re: Django Rest Framework Validation Order Issue

2020-07-01 Thread Özgür Akçalı
;> 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 >>> issue <https://github.com/encode/django-rest-framework/i

Re: Django Rest Framework Validation Order Issue

2020-06-30 Thread Brent O'Connor
2020 at 5:51 PM Brent O'Connor > wrote: > >> 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:

Re: Django Rest Framework Validation Order Issue

2020-06-30 Thread Carl Nobile
2020 at 5:51 PM Brent O'Connor wrote: > 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'Conno

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-30 Thread Brent O'Connor
st another request 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.

Re: Django Rest Framework Validation Order Issue

2020-06-29 Thread Brent O'Connor
raised are only >>>> the field level 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 >>>&g

Re: Django Rest Framework Validation Order Issue

2020-06-27 Thread Carl Nobile
quest 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. >>> >>&

Re: Django Rest Framework Validation Order Issue

2020-06-27 Thread Brent O'Connor
rror and then when post another request 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. >

Re: Django Rest Framework Validation Order Issue

2020-06-27 Thread Carl Nobile
request 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 this message

Django Rest Framework Validation Order Issue

2020-06-26 Thread Brent O'Connor
b, but thought I would check here first. Please see the project example for more details. -- 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 djan

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
en't 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

Re: Behaviour driven development in Django rest framework.

2020-05-03 Thread Carl Nobile
gory would add fall under, unit 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. &

Behaviour driven development in Django rest framework.

2020-05-03 Thread Tom Victor
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 the

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
set(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" grou

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 framewo

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

Django Rest Framework Nested Serializer does not work.

2019-12-09 Thread Yery cs
want results of Private_ID_Info table also. Please help me. 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-re

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 becaus

Re: New package: django-rest-framework-features

2019-10-24 Thread Joel Kumwenda
ium.com/@cloudcode.bbb/how-to-build-your-django-rest-framework-api-based-on-named-features-97432ce07969?sk=3b056da82cc849181250ecf29518f4be>, > the docs > <https://django-rest-framework-features.readthedocs.io/en/latest/> and > the source > <https://github.com/cloudcode-hung

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

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&#x27; 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 the Goog

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

2019-08-21 Thread kumar deepak
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

Django-rest-framework specific authentication backend

2019-08-09 Thread Rafael Almeida
r thoughts? -- 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 discuss

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 yo

Django REST framework 3.10 released!

2019-07-15 Thread Tom Christie
s quickly as possible. As always, thanks so much to all our sponsors, contributors, and users for helping keep things rolling! All the best, T. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from

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

2019-05-29 Thread Rahul Sarma
SerializerMethodField because 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 email

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

2019-05-21 Thread Gautam Ajani
ubscribed 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-framew

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 u

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
t;questions") >>>>>> if not questions: >>>>>> raise serializers.ValidationError("questions are required") >>>>>> if self.context["request"].method == "POST": >>>>>> self.questions = Questi

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
estions = self.context["request"].data.get( >>>>> "new_questions") >>>>> if self.new_questions: >>>>> self.new_questions = QuestionSerializer( >>>>> data=self.new_questions, many=True) >>>>> self.new_question

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
;> evaluation_test.title = data['title'] >>>> evaluation_test.type = data['type'] >>>> evaluation_test.save() >>>> >>>> for question in data['questions']: >>>> question.evaluationtest = evaluation_test >&g

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
lf, instance, validated_data): >>> instance.title = validated_data.get["title", instance.title] >>> instance.type = validated_data.get["type", instance.type] >>> instance.category = validated_data.get["category", instance.category] >>> in

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
_data.get["type", instance.type] >> instance.category = validated_data.get["category", instance.category] >> instance.admin = validated_data.get["admin", instance.admin] >> >> for question in self.questions: >> q = QuestionSerializer(instance=qu

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
e.admin] > > for question in self.questions: > q = 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_q

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: q = 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 -- You received this message beca

  1   2   >