← Back to context

Comment by 0xblinq

5 days ago

That’s true as long as you are only talking about the backend.

Frontend wise, Django is in the Stone Age.

Look at Laravel or rails if you want a really complete full stack solution.

I feel very comfortable with Django on the frontend, what are you missing there? I usually use Tailwind or Bulma, with HTMX and AlpineJs. I feel like the experience can be very much React like, even if you leave out HTMX. The frontend game of Django really changed about 2 years ago (at least for me).

  • Laravel's Blade templates are just absolutely phenomenal. The partial rendering, the integration with Livewire, the first class component paradigm. It's just far beyond stock Django / Jinja at this point and delivers some serious dev experience performance boosts.

    https://laravel.com/docs/12.x/blade

    • Haters are downvoting you probably because of mentioning anything PHP related.

      But what you say is true. Blade is amazing.

  • Glad to hear that works for you. But nothing of what you are mentioning is part of Django, nor an official package,etc.

    And I’m not going to get into the details of whether that stack would work for non backend developers, developers working on medium/large projects and/or medium/large teams. That’s a separate and unrelated discussion.

    But compare what Django brings you (Stone Age templating system and that’s it) to what Laravel provides out of the box (or via official packages) like assets bundling, live reloading, an amazing and modern template system with proper “component like” partials or even if you need them, the “big guns” such as Inertia or Livewire. More or less the same is true for Rails with the Hotwire stuff.

    There’s absolutely no point of comparison here. Even if that works for you, Django is not even in the same league.

    It is still a great backend framework though, which was my point.

Both Laravel and Django use Active Record, great for CRUD but I have yet to see a project where it worked with more complex domains.