markwalker · @markwalker
50 followers · 605 posts · Server fosstodon.org

Spent the day looking into data and it's got me thinking.

If you run a service that provides an API, what methods can you employ to detect bots when request rates aren't the issue?

Datadome can protect against bot[net] attacks, and maybe some use of scripts is ok for people to query data. But what about something in the middle, where someone's scripting something to look like the browser, but they're maybe not playing fair.

#python #django #drf

Last updated 1 year ago

Damiano · @dag7
20 followers · 116 posts · Server livellosegreto.it

🚀 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: github.com/dag7dev/drfx-django.

Sono aperto a feedback e suggerimenti, quindi ti invito a farmi sapere cosa ne pensi! 👏🙌

#sviluppoweb #django4 #drf #djangorestframework #codinglife #opensource #GitHub #tecnologia

Last updated 1 year ago

techxpub.de · @nerdswire
6 followers · 443 posts · Server det.social

An has entered or is near the Dutch airspace.

:
:
First seen above:
Altitude: 1025 ft
Model: Airbus Helicopters MBB-BK 117 D-2 (H145)
Operator: Luftrettung
From: /A
To: /A

First seen: 2023-07-17 16:03:50
Last seen: 2023-07-17 16:44:51

globe.adsbexchange.com/?icao=3

#aircraft #icao #3ddc6f #flight #chx83 #bocholt #drf #n

Last updated 1 year ago

Mikela · @castironflower
70 followers · 423 posts · Server hachyderm.io

like its wild to me has no built in way to register serializers and define what serializers to use for nesting

on some levels it feels like this should actually not be handled by the parent serializer but delegated to the view that renders the url

but i guess drf not doing hyperlinked serializers with standardized options call as default is a bigger issue

#drf

Last updated 1 year ago

DRK-OV Nordwalde :teamdrk: · @OV_Nordwalde
92 followers · 426 posts · Server drk.network

„Blick über den Zaun“: unsere Kameradinnen der Rotkreuz-|en aus den Landesverbänden , und -Lippe haben an diesem Wochenende in ein Training mit dem der absolviert. @drk
m.facebook.com/story.php?story

#bergwacht #nordrhein #Hessen #westfalen #winterberg #rettungshubschrauber #drf

Last updated 2 years ago

Viktor Nagornyy · @viktor
49 followers · 65 posts · Server me.dm

⚡️New: How To Create An API with Django REST Framework Quickly

Learn how to integrate Django Rest Framework API into your project with this beginner-friendly tutorial, including two example endpoints.

medium.com/powered-by-django/c

#django #api #drf #saas #python #opensource #startup #foss

Last updated 2 years ago

Robin Kipp · @robin_kipp
63 followers · 25 posts · Server sfba.social

Also, I actually created this backend / API using and , so I could in theory turn off pagination altogether if what I’m trying to do here is going to be more effort than what it’s worth. I love trying new things, however and pagination is part of good RESTful design, so definitely hoping there might be some clever solution to this.

#django #drf

Last updated 2 years ago

Pfalzfoto 📸 · @Pfalzfoto
139 followers · 261 posts · Server pfalz.social

Rettungshubschrauber der DRF Luftrettung mit der Kennung D-HDRF (als Christoph Dortmund gelistet).

#luftrettung #drf #rettungshubschrauber #dhdrf

Last updated 2 years ago

Nebucatnetzer · @nebucatnetzer
55 followers · 317 posts · Server swiss-talk.net

@nova For years I’ve been working on a network inventory (not automated), to replace the Google Sheets for our customer networks. It’s written in and with a slight detour to and but I ditched those because I didn’t like that approach. Maybe one day it will be finished or I will have switched job 😁.

#django #htmx #drf #vuejs

Last updated 2 years ago

Alitux 🐍 · @alitux
61 followers · 149 posts · Server mastodon.la

@colectivopixel No, lo vi muy por arriba. Alguna vez usé , pero es una deuda fastapi. :)

#drf

Last updated 2 years ago

EvanOttinger :donor: · @evan_ottinger
216 followers · 346 posts · Server infosec.exchange

How in 2022 is there not a turnkey library for using / ?

Like, it's got to be me, right? I just can't find it?

#mfa #django #drf #djangorestframework

Last updated 2 years ago

API endpoint response time: 7.2s

Response time after using `select_related` and `prefetch_related`: 147ms

Sometimes the basic stuff solves the problem well enough :)

#django #drf

Last updated 2 years ago

Scot Hacker · @shacker
80 followers · 64 posts · Server zirk.us

The throttling mechanism in REST Framework works elegantly. I created a custom throttle class set to 5/day. On the 6th request, it returned a 429 with helpful error message.

#django #drf

Last updated 2 years ago

· @ff7
66 followers · 917 posts · Server freiburg.social

Uii. Schaut nach vielen Rettungseinsätzen heute aus. Allen Patienten nur das Beste und rasche Genesung!!

#heli #drf #rettungsdienst

Last updated 3 years ago

J. Manrique López · @jsmanrique
45 followers · 3056 posts · Server mastodon.social

RT @androsfenollosa@twitter.com

Ni corto ni perezoso, acabo de añadir un nuevo curso: "Django REST Framework" para aquellos que quieres aprender a hacer APIs con Django.
- 12 lecciones cortas.
- Live demo.
- Plantilla en GitHub.
- Siempre usando un flujo TDD.

programadorwebvalencia.com/cur

🐦🔗: twitter.com/androsfenollosa/st

#python #django #drf

Last updated 3 years ago

Gonçalo Valério · @dethos
295 followers · 1159 posts · Server s.ovalerio.net
Gonçalo Valério · @dethos
295 followers · 1159 posts · Server s.ovalerio.net

"Improve Serialization Performance in Django Rest Framework"

hakibenita.com/django-rest-fra

#django #drf #python #webdev

Last updated 6 years ago

Jeff Triplett · @webology
736 followers · 1214 posts · Server mastodon.social

If you use DRF and have no idea what I'm talking about then check out: django-rest-framework.org/api-

#django #drf

Last updated 7 years ago

Jeff Triplett · @webology
736 followers · 1214 posts · Server mastodon.social

Never underestimate how challenging yet powerful DRF's detail_route and list_routes are. By the time I learned about them my brain was in "this too simple for me to not make it more complicated than they are" mode. ViewSets are powerful in DRF, but there are so many concepts to grasp before they click. Both detail_route and list_route are nice low level hooks for getting your APIs just right.

#django #drf

Last updated 7 years ago