Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: