Archive for January, 2011

In case you’ve been under a rock, the jQuery team released version 1.5 this afternoon, and in a move that took me completely by surprise, jQuery 1.5 includes Futures and Promises. Well, that’s fine, but what the Heck are futures and promises? A Promise is a proxy for a result that hasn’t arrived yet. In […]

20Jan

Using django_uni_form and CSRF

Posted by Elf Sternberg as django, programming

The last update I have to django_uni_form, a rather amazing form layout handler for Django, does not understand what to do with the CSRF token. So in case you’re wondering, after you’ve created your form, you do the following in your view: form = FilmForm(initial = {‘title': ‘History is …’}) form.helper.add_input(Hidden(name = ‘csrfmiddlewaretoken’, value = […]


Subscribe to Feed

Categories

Calendar

January 2011
M T W T F S S
« Dec   Feb »
 12
3456789
10111213141516
17181920212223
24252627282930
31