I swear my 2YO is housing some sort of fission reactor. Up several times during the night, then up at 6 full of energy. I am stuffed =)
Archives March 2012
Wednesday, 21st March 2012 - 07:23:20
Written by
on March 21, 2012 .Friday, 16th March 2012 - 19:42:55
Written by
on March 16, 2012 .Hrm... facepalm... "default=datetime.now()" != "default=datetime.now" #python
I have the date in the title of my blog entries, recently I added some code to do this automatically. When defining the model originally I had default=datetime.now(). This set the default title of my blog to the date and time when the model was evaluated. So when I came back the next day to add an entry the date was for the day I added the code and touched the .wsgi file. By passing the function, not the result it means that the function is evaluated when a record is made.
Friday, 16th March 2012 - 19:23:17
Written by
on March 16, 2012 .Thursday, 8th March 2012 - 22:16:32
Written by
on March 10, 2012 .Thursday, 8th March 2012 - 22:16:33
Written by
on March 8, 2012 .Tuesday, 6th March 2012 - 22:35:02
Written by
on March 6, 2012 .Saturday, 03 March 2012 - 11:33PM
Written by
on March 3, 2012 .I found a great site demonstrating how to add reCaptcha to the existing comments app from django.contrib.
http://www.betterprogramming.com/recaptcha-for-djangos-comments-framework.html
Saturday, 03 March 2012
Written by
on March 3, 2012 .So, there is blog, wiki and gallery, thats all the old featured covered. Time for a new feature. Today I wrote an app which pulls my tweets from the twitter API and stores them in the database and also display the last few in the side bar. The app has one new comonent which I don't normally use - a management interface.This allows an external call using manage.py running on crontab to go and fetch the last few messages.
I also ran through a lot of old blogs and tagged them - the tag cloud is looking a lot healthier now.