Django

Django Template Tag to protect the E-mail address

E-mail SecurityHere is a Django Template tag which you can use to protect the E-mail address on your website against bots or spiders that index or harvest E-mail addresses. It uses a substitution cipher with a different key for every page load. Continue reading…

Implementing Search in Django Site using HayStack and Xapian / Whoosh

For one of my personal project OnlyAds.in , I wanted to implement search. The requirements I had were :

  • Easy & Fast to Install / Setup
  • Can perform reasonably complex searches

But until we have anything like django.contrib.search, we'll have to work with alternate applications. Continue reading…

Debugging Django : Best Stuff on Web

Continuing my previous post Debugging Django Application, in this post I am trying to aggregate best of web tutorial which will definitely help you while debugging any django application. Continue reading…

Debugging Django on Windows : Developement Setup

Django I remember the days when I used to struggle while debugging django web applications. But after working for more than a year now with django, I am more or less settled with tools I use for debugging Django Application. My Development System is on Windows XP, so this post is specifically for Debugging django on windows.

Continue reading…

Django ORM : What to do when the memory requirement goes high?

As the title suggest this post is regarding "Memory Requirement of django ORM".
Actually some days back I myself faced this problem and wrote "Why Django ORM Sucks : It takes a hell lot of memory in processing". From various comments and a thread which started on google groups, I came up with few points one should check while operating on large amount of data.

Continue reading…

Django Example: FileField and ImageField

The syntax to add it in Model is:

class MyModel(models.Model):
	video = FileField(upload_to=None[, max_length=100, **options])

Continue reading…

Why Django ORM Sucks : It takes a hell lot of memory in processing.

For a project i wanted to keep one of my table in memcache. I tried to do it using Django ORM but it was taking a hell lot of memory.

Continue reading…

Installing Memcached for Django Application on Windows XP

For a project I needed Memcached. But the problem was that I have my development system on WindowsXP.

Continue reading…

Subscribe Me

Google Custom Search