home.social

#djangoninja — Public Fediverse posts

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

fetched live
  1. A febbraio abbiamo fatto il primo evento dell’anno di #PyVenice !

    🗣️ Due interventi sui #framework del momento, #flask e #django
    ⚖️ Un confronto tra #python e #javascript, in termini di #ServerSide e #ClientSide rendering
    🚀 Come #DjangoNinja ha reso veloce le #REST di Django, mostrando il codice in azione !!!

    🕖 Noi ci vediamo il 16 aprile 2026, con il #workshop su #n8n ‼️
    Info e prenotazioni 👇
    meetup.com/pyvenice/events/312
    💾 NON mancate !

    #PyVenice #3 @pythonitalia #Python #Flask & #DjangoNinja

  2. PyVenice #3 - #Flask & #DjangoNinja

    Continuiamo il nostro viaggio itinerante 🚀 per il #Veneto a Mestre, in collaborazione con il #GDGVenezia, un evento alla scoperta dei #framework in #Python !

    🕢 Ci troviamo in #presenza giovedì 19 febbraio alle ore 19:00.
    📍 Saremo ospitati da Anda Venice Hostel a Mestre, e per chi non potesse raggiungerci, si terrà anche su YouTube in #streaming.

    Info e prenotazioni 👇
    meetup.com/pyvenice/events/312
    💾 NON mancate !

    #PyVenice #3 @pythonitalia

  3. I wrote about them earlier in the year: micro.webology.dev/2024/03/06/

    Even changing the shape of a CSV or JSON file is so much easier with a ModelSchema.

    @lacey and I have a large data import project and I only had to change one line of python code (from a schema) to map out another source of data yesterday.

    #Django #PyDantic #DjangoNinja

  4. @ben I think more specifically, you need #Django + #DjangoNinja folks.

    Wish I could help more, but most of my APIs have been in DRF.

  5. Here's a generic response for object creation with django-ninja:

    ```python
    class GenericCreatedSchema(Schema, Generic[EmbeddedType]):
    success: bool
    created_object: EmbeddedType
    ```

    = use the same generic response template for ALL object creation endpoints.

    But even better: I can use different response types in the same API endpoint, using HTTP status codes - depending on which fields are exposed to the user.

    All of this translates to OpenAPI spec automatically 💯

    #django #djangoninja

  6. Planning to work on something comparing FastAPI and Django Ninja ⚡️🥷
    Any questions you have you'd want to be covered?
    #PythonWeb #FastAPI #DjangoNinja #Django

  7. I wrote a very long script...

    It auto-generates an entire Django project from an OpenAPI specification.

    It also generates all the API endpoints automatically. Endpoints are Create-Read-Update-Delete-List.

    This is pretty awesome for bootstrapping a project that was conceptualized by software architects, but also pretty cool if you need a wiremock that stays up2date with an OpenAPI spec that changes often.

    This is only possible because #Django and #djangoninja are awesome.

Share on Mastodon

Enter the server where you have an account.