) 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:
>>>
>>>>
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
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
;
> 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
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
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
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
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
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
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
'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
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,
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.
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
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
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
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
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
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
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.
&
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
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:
>
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
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
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
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
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
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/
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
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
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
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
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
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
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.
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.
>
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
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
&
>
>
>
> 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
>
/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
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
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&
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
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
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
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...@
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
>>>
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
>
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:
>>>
>>>
:
> 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
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
> <
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
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
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
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
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
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
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
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
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
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
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
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
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
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 because
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
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 th
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
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
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
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 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
;>>>>> if self.context["request"].method == "POST":
>>>>>> self.questions = QuestionSerializer(data=questions, many=True)
>>>>>> self.questions.is_valid(raise_exception=True)
>>>>>> elif self.context["
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):
>>
;>>> for question in data['questions']:
>>>> question.evaluationtest = evaluation_test
>>>> question.save()
>>>> return evaluation_test
>>>>
>>>> def update(self, instance, validated_data):
>>>> instance.title = validated_d
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
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
>
>
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
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
; 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
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
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
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
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
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/
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
: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
, 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
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 - 100 of 146 matches
Mail list logo