1. users.views.py

  2. users.models.py

  3. users.signals.py

  4. users.forms.py



How I started out learning built-in Django components

This is the first thing that I started writing in Django, in my mind ”adding a built in component” sounded about as hard as adding a Skyrim mod, I was very wrong. So I started working in parallell with the slotmachine that you can find if you press here.. The reason for this was that I didn't feel like I had a good understanding at all of what I was doing, so I conjured up the idea of trying to implement my own code to get a better understanding of the Django framework and webdevelopment.

This process starting out was very slow. I began with just the documentation to help me because at that time I thought using GPT was cheating, then I started googling to find explanations for the things I struggled with and ended up just copying code, which is in my mind a lot worse than GPT if your goal is to learn, and most of it didn't run anyways. At this point I felt that I gained little to no understanding and I decided to sidestep and try and make my own code run as mentioned above.

When I later returned to this I had a much better understanding of sessions, the relationship between frontend and backend, and how to send data back and forth between them. This made the process a whole lot simpler, though I still struggled a lot with understanding the error codes but I had already started using GPT sparingly for the slotmachine project. At this point I started to understand that It's just a glorified search engine that explains things for you, so why use Google. So every error code I got I asked it to explain it to me thouroughly and my understanding for programming skyrocketed compared to before.

After finishing these two projects I felt that I hade succeeded. I felt that I had gained the skill of webdevelopment. Given that this was almost a year ago and I have just recently started looking for a job as a webdeveloper I would say that feeling was incorrect. But you have to really feel the successes to keep going sometimes.

This was also my first introduction to SQL databases in the form of SQLite, I didn't find that nearly as difficult as what is mentioned above. I have since worked mostly with MySQL and today I feel adequetly comfortable with both database design and management.