Wrestling with #DjangoRestFramework to make an adapter serializer that uses #pydantic for validation.
DRF embodies all the worst things about Java-style OOP. There are base classes, mixins, attributes that must not be used before you call a specific methods, nothing is documented, and, of course, not annotated. Even drf-stubs project that supposed to annotate DRF is full of Any. And then we also stuck with pydantic v1 where you can't have custom serializers.
What a day.
#djangorestframework #pydantic
🚀 Piccolo aggiornamento dal mondo del coding!
Popolo di programmatori,
ho aggiornato un bellissimo template chiamato DRFx a Django 4.
Passa a dare un'occhiata al mio fork su GitHub: https://github.com/dag7dev/drfx-django4.
Sono aperto a feedback e suggerimenti, quindi ti invito a farmi sapere cosa ne pensi! 👏🙌
#SviluppoWeb #Django4 #DRF #DjangoRestFramework #CodingLife #OpenSource #GitHub #Tecnologia
#sviluppoweb #django4 #drf #djangorestframework #codinglife #opensource #GitHub #tecnologia
Kaplan here! We develop a cloud-native translation management system: Kaplan Cloud. Check out the docs at https://kaplan.pro and give it a try! #translation #django #djangorestframework #python #introduction
#translation #django #djangorestframework #python #introduction
Django Rest Framework: How to handle arrays and nested objects in a multipart/form-data request? - https://b0uh.github.io/drf-how-to-handle-arrays-and-nested-objects-in-a-multipartform-data-request.html #django #djangorestframework
I’ve been doing some tests . My goal is to rewrite a #djangorestframework API in #rust.
There are so many web and async frameworks, it’s hard to choose!
#djangorestframework #rust #tide #SeaORM
spends the evening reading up on #DjangoRestFramework throttling for users and staff.
Django/DRF: how to authenticate a user in tests? https://b0uh.github.io/djangodrf-how-to-authenticate-a-user-in-tests.html #django #djangorestframework
How in 2022 is there not a turnkey #MFA library for #Django using #DRF / #DjangoRestFramework?
Like, it's got to be me, right? I just can't find it?
#mfa #django #drf #djangorestframework
Ich habe mal ein bisschen mit #djangorestframework und #htmx rumgespielt. htmx scheint ja mit den beiden extensions json-enc und client-side-templates gut für REST-APIs nutzbar zu sein. Und gerade für ein kleines Team, das nicht so sehr in der Javascript-Welt drin ist, wahrscheinlich super kleiner Maintenance-Aufwand im Vergleich zu REACT oder dergleichen.
Hat damit jemand Erfahrungen oder ist DRF mit htmx eine eher ungewöhnliche Kombo? 🤔
#django #python #htmx #djangorestframework
Ich habe mal ein bisschen mit #djangorestframework und #htmx rumgespielt. htmx scheint ja mit den beiden extensions json-enc und client-side-templates gut für REST-APIs nutzbar zu sein. Und gerade für ein kleines Team, das nicht so sehr in der Javascript-Welt drin ist, wahrscheinlich super kleiner Maintenance-Aufwand im Vergleich zu REACT oder dergleichen.
Hat damit jemand Erfahrungen oder ist DRF mit htmx eine eher ungewöhnliche Kombo? 🤔
#django #python #htmx #djangorestframework
Creating thumbnails programmatically in Django using django-imagekit from sevdimali 👇 https://dev.to/sevdimali/creating-thumbnails-programmatically-in-django-using-django-imagekit-2l1e #djangorestframework #programming #django #python
#djangorestframework #programming #django #python
An #Introduction:
I'm a #Python #SoftwareEngineer by day, but after that I interact with a lot of #FOSS and other #OpenSource projects.
I maintain and own #Select2, the #JavaScript library that I joke is keeping #jQuery alive. I'm also a maintainer on #DjangoRestFramework and #Jinja2 but I'll admit I do less with them now that I don't use #Django for work.
I have a lot of #HomeAutomation projects that make heavy use of #HomeAssistant (#ESPHome, #ZigBee).
#introduction #python #softwareengineer #foss #opensource #select2 #javascript #jquery #djangorestframework #jinja2 #django #homeautomation #homeassistant #esphome #zigbee
Is there anybody using Cognito to authenticate a "regular" #Django app?
I see there's django-cognito-jwt but it works for #DjangoRestFramework (so there's only the request); I guess I could hack something together with that but it would be *awesome* if I didn't have to.
(Please boost for reach - this is driving me insane)
Sees that a new version of #DjangoRestFramework was released, and gets ready to read thru it's release notes to see if it's worth updating today. #Django
TYFYC If you can spare cycles, let’s talk.
I knew you had skills in this area from seeing your contributions to the NAFam.
Oh and I forgot to mention #DjangoRestFramework
RT @pointerish@twitter.com
The first time I saw these 4 lines of code handling GET, PUT & PATCH my mind was blown. Of course, I did not know about the underlying machinery that made it possible. #Django #DjangoRestFramework #Python
🐦🔗: https://twitter.com/pointerish/status/1412621295691440129
#python #djangorestframework #django