Current Twitter Status

See status in context

Subsidized Fear

Terror Alert Level

Into The Past »

Links Tagged With “python” (Show All Items Tagged With “python”)

Easier custom Model Manager Chaining

Bookmarked via Diigo on Tuesday, July 20, 2010 @ 14:00 CDT by Daniel Andrlik

Via Simon Willison:

This is a really convenient way to add custom functions to model managers in Django. Way easier than defining custom managers each time you need extra functionality.

View Link Source

reCAPTCHA Field for Django Forms

Bookmarked via Diigo on Thursday, May 20, 2010 @ 20:54 CDT by Daniel Andrlik

This is an older tutorial, but it works splendidly. I just used this approach with a Django 1.2 project I am working on to create a reCAPTCHA field for my custom forms. The automatic validation works like a charm.

View Link Source

Django Debug Toolbar

Bookmarked via Diigo on Saturday, February 13, 2010 @ 15:43 CST by Daniel Andrlik

Django Debug Toolbar is an insanely useful Django app that you can drop into any Django project and get tons of useful information while developing and testing your work, all in a pretty sexy looking toolbar.

DjDT displays information such as:

  • Execution time
  •  Settings
  • HTTP Headers
  • Request Variables
  •  SQL
  • Template Debug Console
  •  Signals
  • Logging (from the standard Python logging module)

There is a great video on the landing page that does an admirable job showing off what DjDT is capable of doing for you. I can’t imagine why anyone would not use this when developing with Django, unless it’s just plain ignorance of it.

Seriously, save yourself some headache when you are testing your work and use DjDT.

View Link Source

Haystack - Search for Django

Bookmarked via Diigo on Wednesday, November 4, 2009 @ 08:02 CST by Daniel Andrlik

This is a sweet search application for Django.

When I first wrote my site, I had to patch the model code to have it utilize the native full text search available in PostgreSQL, and then some truly ugly search code for searching all the models in my applications. Haystack, combined with a true search backend like Solr or Xapian is a much better approach. Looks like a great way to implement robust search on your Django site.

View Link Source

Processing your offline gmail in Python - Command Line Warriors

Bookmarked via Diigo on Tuesday, February 3, 2009 @ 21:48 CST by Daniel Andrlik

Oh, there are hours of geeky fun to be had with this. This is so going on my list of things to tinker with when I finish my current coding project.

View Link Source

Defying Classification: ETags And Modification Times In Django

Bookmarked via Diigo on Saturday, December 13, 2008 @ 12:20 CST by Daniel Andrlik

Great tutorial and explanation on using ETags in Django for more efficient request processing. Part of an ongoing series on advanced HTTP concepts in Django by Malcolm Tredinnick.

View Link Source

django-command-extensions - Google Code

Bookmarked via Diigo on Sunday, November 16, 2008 @ 09:44 CST by Daniel Andrlik

Excellent Django app that adds a number of useful management features to your Django project.

View Link Source

Big list of Django tips (and some python tips too)

Bookmarked via Diigo on Sunday, November 16, 2008 @ 09:32 CST by Daniel Andrlik

This is a great collection of Django tips. Worth reading through if you plan on doing any work with Django.

View Link Source

So you want a dynamic form

Bookmarked via Diigo on Friday, November 14, 2008 @ 11:21 CST by Daniel Andrlik

A useful little tutorial from James Bennett on how to produce dynamic forms with Django. Some of these techniques I have been using on my own, but he provides examples that show a much more efficient way of doing it than I have in my own code.

View Link Source

The basics of creating a tumblelog with Django

Bookmarked via Diigo on Tuesday, June 24, 2008 @ 10:49 CDT by Daniel Andrlik

I’ve been toying with adapting my site code to do this sort of thing. It’s always nice to see when someone else takes the time to publish their solution. I don’t know if I’ll end up doing exactly the same thing, but this post certainly gave me some ideas.

View Link Source

Into The Past »