r/learnpython • • Mar 01 '21

Python is kicking my butt

I’ve been learning python since early December now.. I seemed to become comfortable with the syntax and was gaining confidence quickly!

Then I moved on to Django and was quickly sent a reality check as the difficulty level increased really fast... I went back to python and started learning classes... this also is extremely hard to grasp..

While learning classes I realized I didn’t know for loops.. dictionaries.. len/range() nearly as much as I thought I did... the confidence I so quickly built is now gone.

I know the journey to web dev isn’t going to be easy at all.. I’m not giving up.. just wanted to get this off my chest.. I’m going back to the basics this week. Wish me luck. Have a nice week!

486 Upvotes

118 comments sorted by

View all comments

1

u/TBSchemer Mar 02 '21

Django is a conglomeration of several different components that you'll need for your webapp. As others have suggested, it may be helpful to first try learning these parts individually.

Flask covers page navigation.

A huge part of Django is the database backend and object-relational mapper (ORM). To learn this part, you could try spinning up a SQLite (for simplicity) or Postgresql database and use SQLAlchemy as the ORM to interact with it, with alembic for migrations.

UI design and authentication can leverage other plugins.

These things aren't easy. Be patient with yourself.