Login or Sign up

Posts

A space-separated list of HTML tags for Django template defaultfilters removetags

remove all html tags from a string.

See the attributes of a variable in Django Templates

A little help for the designer.

Javascript Introspection in 90 seconds.

Gee, all work and no posting lately.

Instantiate a class by calling it with a dirty dictionary b/c you are using Django with some substandard API

Dirty hack N in our M part series, "Getting around other people's bad apis"

Remove insignificant whitespace from xml string with Python

simple but not super-easy to find trick for stripping insignificant whitespace frmo xml

Reset Django Password Manually: algo$salt$hash

non-technical administrators can take matters into their own hands.

Add urls to your django sitemap that require two objects

Different ways to build sitemaps with Django

Discrete Math - 2 - Permutations, ordered arrangements

Part 2 in my N part series on discrete mathematics.

Fundamental Principles of Counting - 1 - Rules of Product and Sum

going to do a start a course in discrete math with python

Apple allows sign up for iTunes membership and emails at myinfo.apple.com without confirming registration

Apple stole my time with some poor web development.

Don't feel like writing a management command or playing with DJANGO_SETTINGS_MODULE? Just copy what is in your manage.py, djangonauts.

just a little django hack

Moving back from the development versions of Django, pre-1.2 and Pinax, pre-0.9. Back to 1.1.1 and 0.7.1 respectively.

Not that bad.

Python, does this string have spaces? Tabs, newlines?

Three ways timed with timeit

Django-tagging doesn't require documentation

django-tagging is one of the ultimate reusable django apps.

Remove links that point to the current page with jQuery

Linking back to the same page that you are already on? That's annoying.

ipython shell for debugging

The most useful tip for debugging that I had ever run across.

String format two decimal places in python (money)

Another simple mini tutorial so I don't have to reference this again.

using bpython with django and pinax

bpython is very nice.

Django test client: state, session, login, nice

Simple example of django testing

Subclass django. forms. widgets. RadioFieldRenderer and django. forms. widgets. RadioSelect for custom rendering of individual choices

Fun with django.forms.widgets