Viewing posts for the category Django

Sex Comments. How to delete them from Mezzanine

Sex Comments: How to delete them from Mezzanine

Hey, I was receiving a lot of comments in this blog(created in Mezzanine, Django) from people that wants to get higher page rank. Most of the comments were about sex pills. I will show you how I got rid of them with an script.

Django Migrations to the Rescue

Django Migrations to the Rescue

I have been programming professionally for 19 years now and it was always a pain to maintain the changes you do in your database prepared to be replicated in all the installations your application needed. Remember it was desktop software before so we needed to create programs that check the version of the database they were using and somehow upgrade the database to the new fields, tables, triggers, views, stored procedures, user defined functions etc, so the new software will be able to run without errors.