Yearly archive for 2008

Expire cache specific to a django…

posted: 08th November. 2008 // 10:27 p.m. // 1 comment

Often you might encounter situation where you may need to expire cache for a POST request when user updates a field. Here is a snippet I use to expire cache for that specific key.

Making Django Dry templates even …

posted: 05th November. 2008 // 3:38 p.m. // 1 comment

A simple trick to make your django templates even drier. A huge time saver. A work around by creating a new method in a django model to spit out the rendered redundant code.

Impossible is Nothing

posted: 22nd October. 2008 // 6:13 p.m. // 1 comment

A story of a french guy who left his country and family to fulfill his american dream. The scariest part is he's trying harder and going to make it. Glad I know him...

Setting django dev & prod environ…

posted: 18th October. 2008 // 8:52 p.m. // Be the first to comment

Here is a django environment setup tutorial which I use for this blog. I have 2 different setups which I use for development and production server.

My Experience with Django Signals

posted: 01st October. 2008 // 9:54 a.m. // Be the first to comment

A post describing use of Django signals in a practical situation. I explained a practical scenario where django signals could be used to make your life easy.

Finally a version control that ma…

posted: 28th September. 2008 // 8:55 a.m. // Be the first to comment

A blog post on my transformation to GIT from SVN. I really loved the way git works. Here are a few facts which made me move to GIT.

My first looks into Savoy

posted: 14th September. 2008 // 10:08 p.m. // 4 comments

I was lucky enough to beat test jeff croft's Savoy framework. Here are my few views on Savoy. This could be used as a quick start with savoy as well.

Django database backup view

posted: 05th September. 2008 // 1:50 a.m. // Be the first to comment

Here is a view I developed to take a backup of my django database. Its quite simple and pretty self explanatory.

This Week in Django

posted: 01st September. 2008 // 10:44 p.m. // Be the first to comment

This week in Django is an amazing podcast conducted by Micheal Trier & Brian Roser. They discuss a lot of happening information regarding Django.

Building a Brightkite using djang…

posted: 20th August. 2008 // 8 a.m. // 4 comments

This is the continuation to my post on "Creating a Brightkite using Django-part-1". I Discuss the details on how to create templates for this app.

Building a Brightkite using djang…

posted: 17th August. 2008 // 11:05 a.m. // 4 comments

Here is a quick tutorial on building a brightkite like app using Django. This post contains techniques how how we can geo code a django object.

Yahoo’s new API BOSS

posted: 29th July. 2008 // 7:26 p.m. // 8 comments

Yahoo has released a new api namely 'BOSS' (Build Your own search Engine). A good time for companies and developers to develop innovative apps with the help of Yahoo's infrastructure.

email results of cronjob

posted: 29th May. 2008 // 12:14 p.m. // 1 comment

Here is a script to get the results of a cronjob as an email. This helps to know if the cronjobs on our server are running fine. We get the full trace-back of the exception...

countries list for registration

posted: 28th May. 2008 // 11:27 p.m. // Be the first to comment

here is a python dictionary which contains all the states in US and all the countries in world.It is a time taking task to write one so use this.

Sync brightkite to django

posted: 19th May. 2008 // 9:58 p.m. // 1 comment

I have synced my blog to brightkite. A cron script checks my brightkite feed for a list of recent checkins and writes into my database.

My Social Profiles

posted: 03rd May. 2008 // 11:26 p.m. // Be the first to comment

The web is growing fast. Only the fittest of the sites remain. Sites like twitter had certainly topped the pole position in mobile based social networking.

layout the real tough job

posted: 01st May. 2008 // 9:22 p.m. // 1 comment

Layout is a really tough job. Clever use of CSS frameworks like Blueprint and 960 gs can save pain in your ass. I use blueprint to a good extent.

my first post

posted: 06th April. 2008 // 8:17 p.m. // 7 comments

HI my first post

thnknsblvng