<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Jason Learns Django on Janusworx</title><link>https://janusworx.com/tags/jason-learns-django/</link><description>Recent content in Jason Learns Django on Janusworx</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>feedback@janusworx.com (Mario Jason Braganza)</managingEditor><webMaster>feedback@janusworx.com (Mario Jason Braganza)</webMaster><copyright>© 2026, Mario Jason Braganza</copyright><lastBuildDate>Fri, 30 Apr 2021 18:40:00 +0530</lastBuildDate><atom:link href="https://janusworx.com/tags/jason-learns-django/index.xml" rel="self" type="application/rss+xml"/><item><title>Jason Learns Django - 08</title><link>https://janusworx.com/work/jason-learns-django-08/</link><pubDate>Fri, 30 Apr 2021 18:40:00 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/jason-learns-django-08/</guid><description>&lt;p&gt;And just like that, this little journey ends.&lt;/p&gt;
&lt;!-- TEASER_END --&gt; 
&lt;p&gt;What did I do/learn today?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Today was all about deployments.&lt;/li&gt;
&lt;li&gt;Learnt how to use gunicorn along with nginx to deploy my website.&lt;/li&gt;
&lt;li&gt;Learnt how to hide my secrets outside my code.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://projectbtre.janusworx.com/" target="_blank" rel="noreferrer"&gt;My first Django site is live!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A few reflections.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The project was both harder than I thought it would be, and took less time than I thought it would.&lt;/li&gt;
&lt;li&gt;I know Django now, but I definitely don’t “know” Django.&lt;/li&gt;
&lt;li&gt;This was an excellent introduction to the world of webdevelopment for me and has only whet my taste for more.&lt;/li&gt;
&lt;li&gt;I realised that I need to skill up my HTML / CSS. That is where I turn to next. All the art and the layout were already done for me in this project. I want to do those too.&lt;/li&gt;
&lt;li&gt;I need to do these study projects slower and keep aside sometime for play projects too. This is something I will definitely do next week onwards.&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Jason Learns Django - 07</title><link>https://janusworx.com/work/jason-learns-django-07/</link><pubDate>Thu, 29 Apr 2021 21:03:43 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/jason-learns-django-07/</guid><description>&lt;p&gt;Today was a little easier.&lt;/p&gt;
&lt;!-- TEASER_END --&gt;
&lt;p&gt;What did I do/learn today?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Today was about doing contacts in the app that we are building. Registering visitors and stuff&lt;/li&gt;
&lt;li&gt;The basic flow was generating another app and doing views and models and wiring them up to pages&lt;/li&gt;
&lt;li&gt;So this felt like revision of all that I’d learnt over the past few days.&lt;/li&gt;
&lt;li&gt;Stuff makes some more sense now.&lt;/li&gt;
&lt;li&gt;I think I will be done in a day or two, but I know I have only scratched the surface of Django.&lt;/li&gt;
&lt;li&gt;I will need to build a lot more projects to gain fluency. That’ll be the plan in the coming weeks and months&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Jason Learns Django - 06</title><link>https://janusworx.com/work/jason-learns-django-06/</link><pubDate>Wed, 28 Apr 2021 21:40:00 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/jason-learns-django-06/</guid><description>&lt;p&gt;Hard day again.&lt;br&gt;
I just cannot seem to focus and learn.&lt;br&gt;
It takes slogging and rewatching and retyping and oh, I missed a colon there. Do it again.&lt;br&gt;
And again.&lt;br&gt;
And again.&lt;/p&gt;
&lt;p&gt;And that is the only way, I seem to make any progress.&lt;br&gt;
Well, the learning at speed does not quite seem to be in my hands&lt;br&gt;
&lt;em&gt;(or my brain 😂)&lt;/em&gt;&lt;br&gt;
What is in my control, and the best I &lt;em&gt;can&lt;/em&gt; do, is to show up every day.&lt;/p&gt;
&lt;!-- TEASER_END --&gt;
&lt;p&gt;What did I do/learn today?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I think I’m getting familiar with Django. Today I caught &lt;a href="https://www.udemy.com/course/python-django-dev-to-deployment/" target="_blank" rel="noreferrer"&gt;Brad&lt;/a&gt; making a mistake. And I went ha! That’s not what the module is called. It’s &lt;code&gt;messages&lt;/code&gt;, not &lt;code&gt;message&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Learnt all about creating user accounts for the website that I am creating alongside the course.&lt;/li&gt;
&lt;li&gt;Learnt how to wire stuff up to the login, logout and register pages.&lt;/li&gt;
&lt;li&gt;Learnt how to flash messages using Javascript &amp;amp; Bootstrap.&lt;/li&gt;
&lt;li&gt;Created Dynamic Titles for all the various pages of my website; i.e. instead of it just pulling in the name from a base html file, I can now type in a title for every page, or create one from the various variables on the page.&lt;/li&gt;
&lt;li&gt;Realising that Django is both not as large as I feared (the big picture is tractable) and much larger than I feared. (I don’t quite know how long I will take to master it.)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Until next time then …&lt;/p&gt;</description></item><item><title>Jason Learns Django - 05</title><link>https://janusworx.com/work/jason-learns-django-05/</link><pubDate>Tue, 27 Apr 2021 20:30:00 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/jason-learns-django-05/</guid><description>&lt;p&gt;Life got in the way again.&lt;br&gt;
Remembered &lt;a href="https://janusworx.com/blog/jason-learns-django-04/" target="_blank" rel="noreferrer"&gt;yesterday&lt;/a&gt;.&lt;br&gt;
So I took it easy.&lt;br&gt;
Gave myself 4 hours and the grace to quit if I wasn’t done.&lt;br&gt;
And somehow, by the skin of my teeth, I got done with the pending module.&lt;/p&gt;
&lt;!-- TEASER_END --&gt; 
&lt;p&gt;What did I do/learn today?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I seemed to have taken a break at a natural place in the module. If yesterday was about wiring views, today was about doing search.&lt;/li&gt;
&lt;li&gt;Wrote lots of Django template code. Loops and variables and pulling data from dictionaries.&lt;/li&gt;
&lt;li&gt;Amazing to see reams of code in an HTML template just vanish, to be replaced by a few lines of code, that loops over data pulled from a database.&lt;/li&gt;
&lt;li&gt;Wrote lots of search functions for different parts of the site.&lt;/li&gt;
&lt;li&gt;Love the fact that I understand most of the Python I write. Am confused a lot about whether the stuff I use is Python powered or something Django gives me, but am not stressing over it. This I am sure will come with time&lt;/li&gt;
&lt;li&gt;Today was another slog day, but it was so much fun, watching various parts of the website come to life.&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Jason Learns Django - 04</title><link>https://janusworx.com/work/jason-learns-django-04/</link><pubDate>Mon, 26 Apr 2021 20:00:00 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/jason-learns-django-04/</guid><description>&lt;p&gt;I thought &lt;a href="https://janusworx.com/blog/jason-learns-django-03/" target="_blank" rel="noreferrer"&gt;last friday&lt;/a&gt; was hard.&lt;br&gt;
Boy, was I wrong.&lt;/p&gt;
&lt;!-- TEASER_END --&gt; 
&lt;p&gt;I had scheduled about four hours to do one of &lt;a href="https://www.udemy.com/course/python-django-dev-to-deployment/" target="_blank" rel="noreferrer"&gt;Brad’s&lt;/a&gt; modules everyday.&lt;br&gt;
And today was such a bear.&lt;br&gt;
Life happened.&lt;br&gt;
There were lots of interruptions.&lt;br&gt;
I tried to soldier on nonetheless.&lt;br&gt;
Eight hours in, and I am still only halfway through the module.&lt;br&gt;
That’s when I decided to give myself some grace and let it go.&lt;br&gt;
Note to self, stick to the time. Not the module. If the module does not get over, there is always tomorrow.&lt;br&gt;
&lt;em&gt;(saying this, as I look at the pile of stuff, I’ve left undone today.)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;What did I do/learn today?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Learnt the basics of view methods today&lt;/li&gt;
&lt;li&gt;Am kinda getting the hang of how stuff passes through Django from me typing stuff in the url bar, to stuff being displayed on screen.&lt;/li&gt;
&lt;li&gt;Learnt about humanize module that’ll “humanize” dates and times and figures, so that they make sense to humans.&lt;/li&gt;
&lt;li&gt;Getting better at passing stuff in a view to the template.&lt;/li&gt;
&lt;li&gt;Learning how to collect everything I want in a dictionary, and then passing it wholesale to the template, so I can work magic there, using those data.&lt;/li&gt;
&lt;li&gt;Learnt about the Paginator module, that helps me, well, paginate stuff.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hope to finish this module tomorrow&lt;/p&gt;</description></item><item><title>Jason Learns Django - 03</title><link>https://janusworx.com/work/jason-learns-django-03/</link><pubDate>Sat, 24 Apr 2021 20:30:57 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/jason-learns-django-03/</guid><description>&lt;p&gt;Today was a slog.&lt;br&gt;
Life got in the way, so lost some scheduled time. &lt;br&gt;
So decided to work some more in the evening.&lt;/p&gt;
&lt;!-- TEASER_END --&gt; 
&lt;p&gt;What did I do/learn today?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Learnt the basics of models, and migrations today.&lt;/li&gt;
&lt;li&gt;Learnt how to install PostgreSQL, so that I could simualate a production environment.
&lt;ul&gt;
&lt;li&gt;This took eons, all because, I did not realise that I (or some other program I installed) had already installed Postgres in the past, and so I went down a rabbit hole of looking at logs and figuring out ports and why I could not talk to the database &lt;em&gt;I&lt;/em&gt; wanted.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Am slowly realising that I what working with Django actually is, is to take things that Django provides and then customise them to my needs. And Django provides &lt;em&gt;a lot.&lt;/em&gt; Python is just the way I express what I want.&lt;/li&gt;
&lt;li&gt;Learnt how to write a model file and then use migrations to actually go alakazaam and make them real in my database.&lt;/li&gt;
&lt;li&gt;Learnt how to rejig the default admin panel, that comes with Django
&lt;ul&gt;
&lt;li&gt;While the stock admin site is pretty function &lt;a href="https://www.udemy.com/course/python-django-dev-to-deployment/" target="_blank" rel="noreferrer"&gt;Brad&lt;/a&gt; walked me through customising it to add brand colours and adding / changing functionality. For e.g. adding in a search field, so I could search by names.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;I should be reading Django documentation and then playing with all the features.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Time to call it a day.&lt;br&gt;
More on Monday.&lt;/p&gt;</description></item><item><title>Jason Learns Django - 02</title><link>https://janusworx.com/work/jason-learns-django-02/</link><pubDate>Fri, 23 Apr 2021 13:06:43 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/jason-learns-django-02/</guid><description>&lt;p&gt;Today was a really good day.&lt;br&gt;
Did four productive hours of work.&lt;br&gt;
Managed to focus, and follow the lessons and write my own code.&lt;/p&gt;
&lt;!-- TEASER_END --&gt; 
&lt;p&gt;What did I do/learn today?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I need to write a &lt;em&gt;lot&lt;/em&gt; more code.&lt;/li&gt;
&lt;li&gt;I need to write lots of HTML/Javascript, to gain a better understanding. I thought I could get by with basic stuff, but the more I learn Django, the more I see that it works hand in hand with the content and styling that I have written. (Right now there is a set of templates for the course, but I can see myself taking much longer, if this was not there.)&lt;/li&gt;
&lt;li&gt;The MVT flow is now gradually making more sense to me. What stuff belongs to a model? Or a view? I would listen to the instructor, &lt;a href="https://www.udemy.com/course/python-django-dev-to-deployment/" target="_blank" rel="noreferrer"&gt;(Brad)&lt;/a&gt;, then pause the video and then try to do it myself first. Or at least think through the process and mentally prep an answer. And then go see what he did, and how he did it.&lt;/li&gt;
&lt;li&gt;Worked with Apps and URLs and Templates and learnt to write code across these files, wiring one up to the other, so that the page would render.&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Jason Learns Django</title><link>https://janusworx.com/work/jason-learns-django/</link><pubDate>Thu, 22 Apr 2021 13:52:06 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/jason-learns-django/</guid><description>&lt;p&gt;Meta post.&lt;br&gt;
More than Django itself, I am beginning the phase of my journey, where now I &lt;em&gt;write&lt;/em&gt; code and install programs and do all the things.&lt;br&gt;
Am committing 2 hours to this daily, on weekdays along with a tiny what did I learn post.&lt;/p&gt;
&lt;p&gt;I am beginning with Django itself, and if I have difficulties with any underlying concepts, I will quickly dive down and write code to understand those.&lt;br&gt;
Learning along with Brad Traversy’s &lt;a href="https://www.udemy.com/course/python-django-dev-to-deployment/" target="_blank" rel="noreferrer"&gt;Python Django Dev To Deployment&lt;/a&gt;.&lt;br&gt;
It’s a bit old, but I like the way he teaches.&lt;br&gt;
And to make sure I am not cargo culting, I am doing this with Django 3 (the course has Django 2)&lt;/p&gt;
&lt;p&gt;What did I do/learn today?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Set up a timetable of when I’ll go about doing things.&lt;/li&gt;
&lt;li&gt;Bought the course.&lt;/li&gt;
&lt;li&gt;Installed Django and got it to work.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And that’s about it.&lt;br&gt;
Looking back at it, I wonder why this took me three long hours, but it is what it is.&lt;br&gt;
I’d rather show up daily and make progress.&lt;/p&gt;</description></item></channel></rss>