Results for the tag 'django'

Django Secret Question suggestion

posted: 28th November. 2009 // 5:17 p.m. // 1 comment

A post sharing one of the approach I took to solve a password reset problem and asking the community for feedback if there is any much secure way to achieve the task.

Django image crop and upload to S…

posted: 06th August. 2009 // 11:27 p.m. // 5 comments

A brief explanation on creating a profile Image from an Image upload. After the image is uploaded we crop the picture and resize it to appropriate sizes and then put into MEDIA or upload to S3.

Link // add fulltext search … // Mon // 03 Aug 2009 // 1:04 p.m. // 0 comments

Whoosh is a pure text indexing & searching library. Post on how to use whoosh with django.

Visit site..
Link // extend djangos user … // Mon // 27 Jul 2009 // 11:02 a.m. // 0 comments

An intresting article on adding methods to classes in a framework. Monkey patching. Check out comments as well.

Visit site..
Link // phpbb to accept djan… // Sun // 19 Jul 2009 // 3 a.m. // 42 comments

A blog post which describes how to use django sessions with other 3rd party CMS like phpBB. Intresting thought but yes it is very handy!!

Visit site..
Link // python paste // Sat // 20 Jun 2009 // 8:15 p.m. // 0 comments

Yet another python web framework based on WSGI. A-Do-It-Yourself-Framework.

Visit site..
Link // django tip caching a… // Sun // 07 Jun 2009 // 5:28 p.m. // 0 comments

Neat trick for expensive pages which can be mostly cached with the exception of the “logged in as” bit—run them through the template system twice, caching the intermediary generated template.

Visit site..
Link // djapianxapian search // Sun // 07 Jun 2009 // 5:24 p.m. // 0 comments

A tutorial explaining using Xapian with django project. Djapian is a resuable app which makes this quite easy. The author provided great tips by the ability to search more than one model at a time.

Visit site..
Link // testing django views… // Sun // 07 Jun 2009 // 4:52 p.m. // 0 comments

Neat decorator for executing a Django view under high concurrency in your unit tests, to help spot errors caused by database race conditions that should be executed inside a transaction.

Visit site..
Link // django tip user prof… // Sun // 07 Jun 2009 // 4:50 p.m. // 0 comments

A good trick which enables to use django user profiles as User object's property. Good use of Python property & get_or_create. Nice..

Visit site..
Link // crawlers limiter mid… // Sun // 07 Jun 2009 // 4:49 p.m. // 0 comments

A django middleware to prevent access to violent crawlers. This middleware basically checks if the REMOTE ADDR is one among the black listed crawlers. If so set the count in cache. This way if a threshold is crossed we can simply send a 403. Might be useful...

Visit site..
Link // django protected fil… // Sat // 16 May 2009 // 6:44 p.m. // 0 comments

A django reusable app which protects files while serving via the nginx frontend server. Thanks @lincolnloop.

Visit site..
Link // django full serializ… // Sun // 15 Mar 2009 // 9:02 p.m. // 0 comments

Here is an extension of django serializer which adds 3 more capabilities. Right now the django serializer outputs all attributes of the model object. This extension takes an arguement extras/ excludes/ relations. Cool!

Visit site..
Link // matplotlib python gr… // Wed // 25 Feb 2009 // 10:22 a.m. // 0 comments

matplotlib - Python Graphing library. I was searching for a good python graphing library and found this. Looks like good enough for me. I need a good line graph plotting tool for a client.

Visit site..
Link // djangosolr search // Sun // 22 Feb 2009 // 10:34 a.m. // 0 comments

A reusable django app which integrates Solr searcg into a django app. PySolr is a python wrapper for the Solr search engine which is a dependecy. The only thing I dont like is Solr is a java based search which I dont like to run on my host. Anyway got to try this in my project.

Visit site..
Link // pyflakes installatio… // Sat // 21 Feb 2009 // 4:09 p.m. // 0 comments

PyFlakes is a tool to identify common mistakes in Python source-code. Redefined functions, Shadowed variables, Unused and undefined names, Unused or missing imports, Variables referenced before assignment

Visit site..
Link // all your pixel greg … // Fri // 20 Feb 2009 // 3:09 p.m. // 0 comments

An XMLRPC interface to your django app. Useful to post data into the app from external resources. Ecto blogging app uses XMLRPC to posts into the blog engine.

Visit site..
Link // smtp testing documen… // Fri // 20 Feb 2009 // 3:09 p.m. // 0 comments

I didn’t know this trick: running “python -m smtpd -n -c DebuggingServer localhost:1025” will start up a simple SMTP server which dumps received e-mails to the terminal instead of forwarding them on.

Visit site..
Link // whoosh // Fri // 20 Feb 2009 // 3:09 p.m. // 0 comments

Whoosh is a fast, featureful full-text indexing and searching library implemented in pure Python. Got to give this a try. More alternatives means more throughput.

Visit site..
Link // juno web framework // Fri // 20 Feb 2009 // 3:09 p.m. // 0 comments

Juno is a lightweight web framework designed to make development as fast as possible. It has a good API. Just define a route and write the view assciated with it. Got to try this once.

Visit site..
Link // recaptcha mailhide f… // Fri // 20 Feb 2009 // 3:09 p.m. // 0 comments

reCAPTCHA API which can used to fight spam. Got to read the documentation & give it a try in one of my django projects.

Visit site..
Link // screeleycom django s… // Fri // 20 Feb 2009 // 3:09 p.m. // 0 comments

Finally a blog post in django-solr. I have a been longing to use solr for django from a long time, but still kind of using raw SQL queries. Will try this.

Visit site..
Link // running long process… // Fri // 20 Feb 2009 // 3:09 p.m. // 0 comments

A good post on Running long process in Django. I have been researching various solutions on how to make parallell tasks using django. (Django being not thread safe officially). Pyro seems to be a cool solution got check that.

Visit site..
Link // djangomailhidefilter // Fri // 20 Feb 2009 // 3:09 p.m. // 0 comments

A django reusable app for implementing Re-CAPTCHA into django forms.

Visit site..
Link // some simple django d… // Fri // 20 Feb 2009 // 3:09 p.m. // 0 comments

Malcolm comes up with yet another post on debugging in django. He explains the debug template tag and various other cool techniques.

Visit site..
Link // wtforms // Mon // 19 Jan 2009 // 5 p.m. // 0 comments

WTForms is a HTTP/HTML forms handling library, written in Python. It handles definition, validation and rendering in a flexible and i18n friendly way. It heavily reduces boilerplate and is completely unicode aware. May be I 'll try using it in one of my django projects.

Visit site..

Creating a Mobile site for django…

posted: 22nd December. 2008 // 4:54 p.m. // 5 comments

A blog post summarizing my experiences on creating a mobile interface for your django powered webapp. It's quite as a easy as include a middleware and write a few templates.

Handling profile for a user (pina…

posted: 11th December. 2008 // 10:28 p.m. // Be the first to comment

When a user sign up, how to do you handle his profile. Do you create an empty profile object or you don't create one? Here is my approach towards profile.

Photo // Sun 07 Dec 2008 // 10:58 a.m. // 0 comments

project

Setup a slice with apache+wsgi+ng…

posted: 04th December. 2008 // 12:14 p.m. // 5 comments

An aggreagated view on setting up django on slicehost. I just point to the right resources on the web to get the server up while I share my configuration files.

Django-syncr Internals

posted: 30th November. 2008 // 9:55 p.m. // 1 comment

A brief post on my experience with django-syncr project. A detail view on how to write a wrapper and how to use it to extract data from API calls.

Django templatetags

posted: 26th November. 2008 // 11:31 p.m. // 3 comments

Is it wise to set context in a django templatetag or make the tag return a value? I personally think the second option suits most of the situations.

Django comments for authenticated…

posted: 21st November. 2008 // 3:26 p.m. // 10 comments

A post suggesting a method of using django comments for authenticated users. I prefer to write a custom template comment form and reuse the post_comment view of django comments.

Link // grassyknoll a python… // Thu // 20 Nov 2008 // 10 p.m. // 0 comments

A search engine written in Python. May be I should use this and integrate it with my django backend. Don't know how it goes have to try how it goes.

Visit site..
Link // using django with or… // Mon // 17 Nov 2008 // 11:40 a.m. // 0 comments

A tutorial on using django with orbited framework. Create a streaming coet server where client browser can initiate a tcp socket. Server can push content into the client with out client intervention

Visit site..
Link // the python property … // Tue // 23 Sep 2008 // 7:20 p.m. // 0 comments

Using python builtin property in Django. Via Jeffcroft

Visit site..
Link // using paypal with dj… // Wed // 12 Nov 2008 // 5:20 p.m. // 0 comments

Great tutorial on setting up PayPal transactions with Django. I used this snippet in one of my project to test how it goes and works like a charm. > Thanks a bunch. Via Jeffcroft

Visit site..

Expire cache specific to a django…

posted: 08th November. 2008 // 10:27 p.m. // 2 comments

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.

Link // django doctest tips // Fri // 07 Nov 2008 // 11:06 a.m. // 0 comments

A post on django doctests. Good set of tips. via Eric

Visit site..

Making Django Dry templates even …

posted: 05th November. 2008 // 3:38 p.m. // 2 comments

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.

thnknsblvng