By nitin on February 2, 2010
Here 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…
Posted in Django | Tagged bots, Django, Javasript, security, spam, spamming, spiders, template, template-tag |
By nitin on October 9, 2009
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…
Posted in Django | Tagged Daniel, Daniel Lindsley, Django, HayStack, Search, Whoosh, Xapian |
By nitin on March 23, 2009
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…
Posted in Django | Tagged debugging, Django, python, slide, tutorial, video |
By nitin on March 23, 2009
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…
Posted in Django, Tips & Tricks | Tagged breakpoint, debugging, Django, windows, winpdb |
By nitin on February 24, 2009
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…
Posted in Django | Tagged Django, memory, ORM, python |
By nitin on February 23, 2009
The syntax to add it in Model is:
class MyModel(models.Model):
video = FileField(upload_to=None[, max_length=100, **options])
Continue reading…
Posted in Django, Tips & Tricks | Tagged Django, example, FileField, ImageField, Model, tips |
By nitin on February 17, 2009
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…
Posted in Django | Tagged Database, Django, memcache, MemCached, ORM, problem |
By nitin on February 17, 2009
For a project I needed Memcached. But the problem was that I have my development system on WindowsXP.
Continue reading…
Posted in Django, MemCached | Tagged Django, memcache, MemCached, python, win32, windows, windows XP, windowsXP |
Recent Responses