top | item 43722613

(no title)

martinbaun | 10 months ago

Ah that's a super explanation there, thank you!

Yeah the templating language is not so nice, I sometimes use Jinja instead. Also, I don't like the classic MVC so I have a completely different structure thus validation your point completely :P

If you ever end up in Django land (for some project), checkout Django Ninja for APIs, you'll end up avoiding having these annoying url files and just have a

@api.get("some/api") def some_api(request):

instead. Super simple and useful. I just recently discovered it and I don't know how stable it is but it seems pretty stable so far.

discuss

order

No comments yet.