One of the best features of the Pi-hole is, unlike browser ad-blockers, the sites don’t know they are being blocked!. So no “Please disable your ad-blocker” messages. So where did I place this massive server? Here it sits by the baseboard, about the size of a deck of cards. It is standing, which cooling wise …
Monthly Archives: January 2021
Pi-hole
Set-up Pi-hole today on a Pi that has basically done nothing for years. I had tested successfully my Radio Project , which I recently found, but never put it tn the radio. I am curious in the advances in Raspian, so much so that it no longer fits on a 8GB MicroSSD that the Pi …
Doctor? Lawyer? LibreWolf? Brave?
Tried a new browser called LibreWolf. Was supposed to be a better Firefox. After I started it, the 1st setting I changed was “Restore Previous Session”. So I opened a few tabs I always want started, along with the signon. Well it didn’t restore them on a restart. And bonus it also forgot all my …
Flask & Jinja
So Flask like Django also uses a templating language, called Jinja. Which from what I’ve read is similar to Django’s templating language. So maybe I should rethink my rethink? However in Flask’s favor, Jinja IMHO, based on very preliminary research, is to use their words, modeled after Django’s templates. A more powerful Django templating language? …
Raspberry Pi Radio Project
Found my old Raspberry Pi Radio Project. I attempted to recreate the 1960s AM radio experience. I wrote a simple Python program that only plays random 60s era music along with ads and radio jingles from that era. I guess the keyword is “era”, because realistically some 1950s songs would also be played. I had …
Rethink Django course? Consider Flask?
One of the main reasons I became interested in Django was because I’m familiar with Python and I was looking for a way to redo my site around Python instead of PHP. I use Python frequently as opposed to PHP which I use rarely. Most of my website PHP programs were written many years ago. …
OS Updates
Was worried about a Mint Grub update a day or so ago, but everything went good. Applied 356 updates to Manjaro which also reports “Starting full system upgrade”, today!
Django models (databases & tables)
Interesting stuff!
Setup django environment
Whenever I want to work with django, I have to do the following 6 steps to setup my environment. I probably don’t need to “conda deactivate” but I didn’t want to see “(base)” in the command line…and it isn’t necessary for this project. It becomes tedious everytime. cd Mystuff/Python3/django/ conda deactivate source bin/activate cd password_generator-project/ …
Django class…first challenge!
For the first challenge I’m having a little problem understanding Django links. It seems that links in Django html are referenced in urls.py first. At least that’s the way it seems in my Django infancy. A basic html link is a simple thing where you can point to an html file either in the program …