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
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
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
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
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
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
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
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
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
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
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
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
hone_hide':
phone_hide})
return render(request, 'phone_otp_verify.html', {'id': Qurycustomer.id,
'otp': OTP,
'fullname':
fullname(email),
'name':
first_last_initi
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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/
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
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
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
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
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
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
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
>>
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
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
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
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
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
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
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."
>
>
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
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
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
;
>> 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
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
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
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
` 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
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
>>>>
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
;> 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
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:
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
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
>
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.
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
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.
>>>
>>&
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.
>
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
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
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
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
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
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.
&
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
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
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
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
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
_"
#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
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
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
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
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
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
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
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
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
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
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 ?
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
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
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
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
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
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
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
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 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
t;questions")
>>>>>> if not questions:
>>>>>> raise serializers.ValidationError("questions are required")
>>>>>> if self.context["request"].method == "POST":
>>>>>> self.questions = Questi
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
;> evaluation_test.title = data['title']
>>>> evaluation_test.type = data['type']
>>>> evaluation_test.save()
>>>>
>>>> for question in data['questions']:
>>>> question.evaluationtest = evaluation_test
>&g
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
_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
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
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 - 100 of 188 matches
Mail list logo