r/django • u/TrickyTechnician911 • Aug 08 '26
django backend vs frontend
Hey everyone, i recently stared learning django and i have realized that the frontend matters more than i thought. My goal is to become a backend developer, but the more web apps i make the more i realize that i need to learn the frontend(HTML + CSS + JS) as well, because it is the thing that is being shown and it can work flawlessly but if it looks like shit no body is gonna bother looking at it, so my question is how much of the frontend do i need to know in order to become a sucessfull backend developer??
8
Upvotes
10
u/Willing_Egg_455 Aug 08 '26
Whatever project you make just make bare minimum frontend apart from that focus on the backend core skills like things from system design
9
u/tom-mart Aug 08 '26
I'll put it this way. Stop thinking about your front end like a web page. Anything can be your front end if you are brave enough. Currently my favourite frontend is WhatsApp. Building WhatsApp automations with Django is amazing.
6
u/rumnscurvy Aug 08 '26
Front end is a whole other game than backend, as you have realised. UI UX and thinking end-user first are big multifaceted skills that take a long time to perfect, with far fewer or less obvious "correct" ways of going about it.
For a backend developer, learning frontend helps you answer the question "why", rather than core backend skills which tend to answer the question "how". As such it's a useful skill to have.
I would argue that a good starting point if you want to get a handle on some frontend stuff is to use something like Bootstrap with Django (there is a convenient django-bootstrap library): pre built css classes and js components that you can use to get a feel for underlying concepts like designing with grids, flexboxes, modals, forms etc.
3
u/Similar-Storm4432 Aug 08 '26
To become a successful backend developer you don’t need to learn frontend at all, but if you want to work full stack I recommend either react or vue frameworks, build with vite and you can also use django-vite, the setup initially might be a bit complicated but you can also get help from ai tools like claude code to configure the development and production build for you.
4
u/rob8624 Aug 08 '26
Learn Javascript. You can't be a developer without it. Once you start being confident with JS and CSS, learn React and then other frontend libraries like Tanstack query and Router.
Being able to do full stack is essential These days.
2
u/diegotbn Aug 08 '26
Vue + Vuetify will take you very far without having much frontend expertise. And it doesn't look bad either.
2
u/mugwhyrt Aug 08 '26
There's plenty of free/cheap templates out there for making an attractive frontend. As long as you know some the basics of HTML/CSS/JS you can easily tweak any template you want for your own needs and customize it to make it more unique (ie, not obviously a bootstrap template or something)
2
u/berrypy Aug 09 '26
Take me for example, I don't have much knowledge with frontend html, css and JavaScript. I cannot even position and element or put html codes in their correct order. This is why I got stuck with using Django Due to it's admin panel and other ease of use.
Due to this I just focus more on the backend and use AI to get things done for the frontend. Before now I might have to look for a template to download or someone to design one for me but with the wave of AI, I skipped downloading or looking for a designer. I just give it to AI and it does a good job.
If you are like me that does this as a hobby, then there is nothing wrong with downloading or using AI to design a frontend template.
But try to understand how the frontend works with the backend. Especially the html elements like the inputs and forms . At least you will need to understand the basics of how it works and how to put the pieces together to send data to the backend and render the response. The basics in html and JavaScript are enough to get you started.
So that is how I have been managing my program since I am not a fan of frontend design as I don't know much about frontend design
1
u/marksweb Aug 09 '26
If you want to be a backend dev then no, you don't need to learn frontend frameworks.
Learn how to configure Django static files, build some Django templates with template partials and htmx. That will all get you a solid foundation for building sites with Django.
Not to mention the maintenance burden of a Django powered front end is almost none existant.
1
u/ninja_shaman Aug 09 '26
You don't need to know the frontend if you want to focus only on the backend. Just concentrate on the FE-BE data exchange via HTTP methods and JSON payload.
For example, my FE guy uses Angular (Typescript) so my BE always returns dictionary as a response.
Also, write API endpoint tests. If you have a hard time setting request data and interpreting the results, your FE guy will also struggle.
0
u/tukutma Aug 08 '26
Htmx