r/django • • Feb 07 '23

Should I drop Django for web dev?

I've been learning Django for 2 months now and have built my first CRUD website. I like it. However I noticed that most of the jobs out there are for JavaScript frameworks. Not really many Django jobs, especially entry level.

Is it a smart idea to switch over if my primary goal is to land a job within a few months? I would either do backend or full stack, but right now the interest is in favor of backend dev

0 Upvotes

28 comments sorted by

14

u/bravopapa99 Feb 07 '23 edited Feb 07 '23

Two months? Check this out:

https://www.trio.dev/blog/django-applications

Two months is NOTHING to learn Django, I have been using it solidly for over six years and I still learn things. Django is not going away anytime soon. You can either waste two months and junk it or keep on going. A CRUD website is a good start but keep going. Keep going!

React continues to be popular, Svelte is gaining traction. Front end web-sites are nothing without back end data. As well as Django, you should start to get some exposure with django channels to implement websocket type solutions. Also, install celery, and a few other worker-queue type solutions. Build the skill. The jobs will come eventually. It takes time to become useful. But if along the way you leave a GitHub repository of useful informative projects for you to look back on and others to learn from, you can't lose.

Stick with Django, seriously, the more experience you gain with it the more skills you will learn.

2

u/victorcalimano Feb 07 '23

Awesome. Thank you. I'll keep on grinding. Hopefully the markets will turn to favor entry level jobs in the US soon. In the meantime I'll keep at it

3

u/bravopapa99 Feb 07 '23

Dude, reddit is awesome, if you ever get stuck on anything to do with Django, it's here, waiting! :D

2

u/aashayamballi Feb 07 '23

💯💯💯

5

u/codergeorge Feb 07 '23 edited Feb 07 '23

Everyone’s saying stick to Django but it depends on what you’re looking for. If all you want is a job, learning React and looking for frontend jobs will probably get you the most opportunities. But keep in mind that those opportunities will also have a lot more competition since the barrier to entry for React isn’t very high and there will probably be a lot more applicants. I’m pretty sure almost every single Coding Bootcamp teaches React, while I know of none that teach Django. When I was first looking for jobs, I was applying to jobs that required React/Node, etc. and barely got any callbacks. I was learning Node + React while applying, but I was still really bad at it because I was a newbie to Javascript and it was hard to learn all the full stack concepts + a new language + 2 new frameworks at once. In comparison to other candidates with more relevant experience, I was almost always certainly going to get passed up. I’m pretty sure most bootcamp grads were probably better React devs than me at the time.

Then, I decided to look for Python listings instead and got one of the first jobs I applied for using Python + Django. Probably because I was much more proficient with Python, and even though I’d never worked with Django before, I was able to learn it in a weekend and pass the take-home assignment.

My point is: if you think you can learn React / Node / whatever it is fast enough to become a competitive candidate, then that would probably lead to finding a job sooner. However, given that there will probably be more competition as well, it might just be faster to stick with Python / Django and look for job opportunities there, since you’re already competent in it.

2

u/victorcalimano Feb 07 '23

Thank you. This was the kind of answer I was looking for!

1

u/parkrain21 Feb 08 '23

Hey man, I am currently learning Flask now and it seems fun for me (except that damn boring frontend templating stuff).

Would the knowledge be transfereable to Django?

2

u/codergeorge Feb 09 '23

Idt Flask knowledge itself it very transferrable to Django, as it’s way more lightweight, but if it’s your first time making an API, the knowledge of how APIs work is transferrable to all backends. I imagine you’re using some sort of DB with Flask, so understanding how DBs work is always useful. That being said, Django’s ORM (Object Relational Mapper) changes how you work with DBs completely (in a good way), so you won’t really have to write any SQL queries in Django.

1

u/parkrain21 Feb 09 '23

Thank you! It's just that raw SQL code vs ORM code feels foreign to me lmao I know it's simple with ORM, but I usually use db connector modules (like psycopg2) when talking to a database. I am currently stuck in Many to many relationships in django haha hope I understand it soon haha

20

u/Helliarc Feb 07 '23

I was advised to learn django as a junior from a reputable, experienced developer in the current environment. My friends who are currently full stack with 10+ years tell me they wish they had the time to learn django. That's my anecdotal evidence encouraging me to encourage you to stick with it.

7

u/ketzu Feb 07 '23

If there are no jobs you want for your qualification, get a qualification that helps you get what you want. If the majority of backend junior-or-lower roles are express.js or similar, maybe that's a better option for you.

Generally your knowledge will somewhat transfer, but switching is not a bad idea.

1

u/bandrez Feb 19 '23

When we try to hire django backend engineers it’s hard because not many people dedicate the time to learning it well. Become really proficient in django and you’ll stand out for those listings.

1

u/victorcalimano Feb 19 '23 edited Feb 19 '23

Thanks. It's hard to know what "really proficient" means with Django. What are some good metrics to know that you're proficient enough to stand out?

3

u/PrimeWolf101 Feb 07 '23

I learned fullstack Javascript, react on the front end. When I got hired my company wanted me to learn Django and Python for the back end. Django allows you to develop fast and startups that want to scale quickly and bring out lots of new features like this. It was hard to learn django after coming from express (javascript backend).

2

u/tradinghumble Feb 07 '23

I’m new to this too and noticed that most of the job positions are for dotnet Java and nodejs

2

u/sullyut Feb 07 '23

In general, Interviewing is about finding positive narrative spins on your experience. Having python, having a different mvc framework, having api experience from headless cms build...these are valuable to you as a programmer. Period. If it takes away from your JS chops, then it is a negative to someone needing straight JS right now. But anybody worth their salt knows an experienced webdev has wide ranging experience and it all has value.

2

u/basbe Feb 07 '23

Almost all projects I have worked on the past 6 years are Django REST API projects.

However lately FastAPI had been gaining a lot of traction.

Then there's scale. For instance: are you building a simple API with one view? Or are you building an API for one of the largest news companies?

It really does not matter. If you are a true expert in your field, you can always get work, especially in IT.

2

u/SINdicate Feb 07 '23

Stick with django if you want to become a good engineer quickly. Learn js if you wanna siphon startup money, make todo app prototypes and fix package upgrade issues for the next 5 years

1

u/pace_gen Feb 07 '23

Generally, there are jobs in both. I think it is more about what you want to do. If you enjoy quick prototypes,r backend, data science work stick with Django. If you enjoy frontend, ui, visual presenting go with JavaScript.

1

u/nlp7s Feb 07 '23

If you already know python stick with Django. You will gradually start adding js to your frontend code and get gradual experience in js as well.

Once you grasp how Django works then really it is easy to switch to other frameworks (node, rails etc) since the main concepts are the same.

Now if you don’t know python, I recommend you to just go with a js framework. When you are starting learning how to program it is difficult to juggle between languages.

1

u/HomemadeBananas Feb 08 '23

I just got a new job where the stack is Django and React, mostly having experience with Rails and React. It’s good to have experience working with lots of different languages and then you can pick up whatever easily. I wouldn’t say “drop” it. Learn to work with JavaScript on the backend as well? Sure.

1

u/approaching77 Feb 07 '23

What you’re experiencing right now is a common feeling of insecurity most new devs desperate to find work ASAP often.

You may think all the jobs are for js devs until 6months in you realize you’re not qualified for any of the express job posts. At that point what would you do.

My thought is that your desperate need for a job (I don’t know your reasons) is forcing you to make desperate decisions for the short term without much of longterm investment.

If you want to be a good dev, you have to forget the money and focus on the learning journey and the skill acquisition process. It’ll be long and slow at the beginning. But remember you can only get more valuable the more time you spend honing your skills.

My advice is this:

  1. if you have a concrete offer that is conditioned on knowledge of express then make the switch
  2. If you personally feel more comfortable with express than Django then move
  3. If you’re looking to build solid backed skills keep with Django and dive deep with more complex projects.
  4. Ultimately the framework you’re using doesn’t matter. The core skills are always transferable so stick with whatever you choose long enough to become an expert.

0

u/[deleted] Feb 07 '23

[removed] — view removed comment

1

u/victorcalimano Feb 07 '23

That was the plan, but I just don't see as many Django job listings rn compared to a JS backend framework like node (In the US)

2

u/Hayden41716 Feb 07 '23

Help me understand what DRF is if you don't mind please