Showing posts with label django. Show all posts
Showing posts with label django. Show all posts

Monday, 29 June 2026

Goodbye PC and Windows

Today I did some python django programming related to my website, tested it and pushed the code to source control, all from my Apple Ipad.  I then used the Ipad’s own browser to update it on the live web host. 


The significance of this is that I no longer have a use for my PC laptop running Windows.  It still runs reasonably, albeit slowly and noisily.  Before I pack it away for good, I will back up all the files on it and then it’s goodbye.

Friday, 7 July 2017

Django 2017-07-07

I have come to end of my  'Tango with Django' book and I won't be working on the final chapters to do with unit testing and hosting a django website.  I have thoroughly enjoyed the tutorial example in this book and I did come across a few bugs in the text which I was able to correct with my own python/html/django knowledge.  I like the fact the book provides links to different aspects of django for your own perusal rather than add extra content in a book that is aimed at beginners.  Thanks to this book I can create my own rudimentary django website and make it call various python functions in the back end.  I give this book 4 out of 5.

Sunday, 2 July 2017

Django 2017-07-02

I am now at the later end of the 'tango with django' book by Leif Azzopardi.  The chapter I'm on now is dedicated to exercises on upgrading the website project.  The chapters afterwards deal with JQuery and Ajax which are not part of Django nor Python but extensions of Javascript. These items improve the look and feel of website rather than the functionality.  So basically the workflow in Django is as follows

Update the models
Update the view
Update the template
Update the URLs

Once I have finished this book I will probably buy another Django book before I am fully confident in building my own websites.

Sunday, 25 June 2017

Django 2017-06-25

I am now midway through my Django book "Tango with Django" by Leif Azzopardi.  I can now create simple interactive packages to reflect what I have in my data layer, allow the user to create accounts, login, logout and determine what a logged or logged out user can see or not see depending on whether on the login status.  For practice I created extra data items and displayed in pages on top of what is required in the book. 

Saturday, 17 June 2017

Django 2017-06-17

I am a third of the way through my 'Tango with Django' tutorial book and I have passed a major psychological milestone thanks to the wonderful explanations and exercises in the book.  

I can now create models(internal database tables), populate them and present the data on a web template page at will.  I think the reason for the easy pickup is that the author does not spend too much time on the fancy html tags.

Sunday, 4 June 2017

Django 2017-06-04

Despite some wonderful free online tutorials on Django(I especially recommend the newBoston Youtube Channel)  I have found the take up of it to be slow going.  I think part of this is my lack of expertise on html and CSS.  This is despite dabbling in php and perl CGI a number of years ago.  Therefore  I have bought an e-book called 'Tango with Django' by Leif Azzopardi.  This book is aimed for beginners and I will let you know how I get on with it later.

Monday, 22 May 2017

Python 2017-05-22

After a few struggles, I have put a GUI on my Python enigma machine using the Tkinter package.  You can now key the message you wish to encrypt or decrypt.  My next task is to create a web GUI using Django.