home.social

#djangorestframework — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #djangorestframework, aggregated by home.social.

fetched live
  1. Did DRF get taken over by someone?

    What possessed them to recommend something as shit as drf-spectacular that pisses on the entire legacy of DRY and elegant well architected code?

    #DjangoRestFramework #Django #AISlop

  2. 📣 Fresh off the oven, new bug fix release of DRF is now on PyPI 🐛

    $ pip install -U djangorestframework

    github.com/encode/django-rest-

    Main fix is for a regression from 3.16.0, and clean up old code for (unsupported) Python <3.8 and lots of translations updates

    Thanks to all the contributors that helped!

  3. Not sure what's happening with Django Rest Framework, but it sounds like "go fuck yourself".

    Is there some sort of community-maintained fork, which accepts contributions?

    github.com/encode/django-rest-

    #django #DjangoRestFramework

  4. Since I won't really be able to hunt for work for the rest of the year, I'm thinking of working on the web frontend for #LiSE, and turn it into a #django module, rather than the current situation where it's a #cherryPy "app"

    Are there best practices, or maybe even frameworks similar to the #djangoRestFramework, that would show me how to make LiSE produce its #messagepack for easy consumption by browsers or whatever?

    #backend #webdev

  5. Why is the #DjangoRestFramework messing with the French translations of formfield error messages?

    You just have to add "rest_framework" in the INSTALLED_APPS of your #Django settings.py for the messages to change for no reason.

  6. Система оценивания для проведения экзаменов, срезов в СПО

    Привет всем! Сегодня я расскажу вам о моей системе оценивания, которая создана для проведения экзаменов и оценки знаний студентов. Система построена на Django Rest Framework (DRF) для бэкенда и React с MaterialUI для фронтенда. Я добавии множество полезных функций, включая интеграцию с ISPmanager, которые делают систему удобной и эффективной.

    habr.com/ru/articles/834008/

    #оценка #работ #интеграция #ispmanager #excel #djangorestframework

  7. @raiderrobert

    Wrestling with to make an adapter serializer that uses 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.

  8. Kaplan here! We develop a cloud-native translation management system: Kaplan Cloud. Check out the docs at kaplan.pro and give it a try!

  9. I moved servers, so here's an #Introduction:

    I'm a #Python / #Java #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).

  10. Spending a bit of time this morning finishing up a POST #api for a #DjangoRestFramework project, and hitting a 'InMemoryUploadedFile' when uploading an image to AW3. Guessing this error happens fairly often, so hopefully some search-fu will point me in the right direction.

    #Django #Python

  11. An :

    I'm a by day, but after that I interact with a lot of and other projects.

    I maintain and own , the library that I joke is keeping alive. I'm also a maintainer on and but I'll admit I do less with them now that I don't use for work.

    I have a lot of projects that make heavy use of (#ESPHome, ).

  12. 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)

  13. Sees that a new version of was released, and gets ready to read thru it's release notes to see if it's worth updating today.