elo80ka.wordpress.com
jQuery plugin: Django Dynamic Formset | elo80ka
https://elo80ka.wordpress.com/2009/10/10/jquery-plugin-django-dynamic-formset
Life Programming. Software. JQuery plugin: Django Dynamic Formset. Several months ago, I posted this snippet. Over at Django Snippets. Since then, I’ve used it a few times, and eventually made it into a jQuery plugin. I always intended to release the plugin, but didn’t have time to write some decent documentation, and do a demo project. After reading the comments on the snippet, I finally decided to bite the bullet this weekend, so here it is. Render the formset as you normally would — I usually us...
elo80ka.wordpress.com
jQuery plugin: chained select lists | elo80ka
https://elo80ka.wordpress.com/2009/10/14/jquery-plugin-chained-select-lists
Life Programming. Software. JQuery plugin: chained select lists. A few days ago I was looking for a jQuery plugin that would allow me link select lists together, so that selecting an option in one list (the parent) would update the options in the other list (the target). I’d used linkedSelect. On a previous project, but for some reason, my ISP kept returning “IP has been banned” each time I tried to browse to the site. As it turns out, this was a good thing. Eventually, I found this post. If you’d ...
elo80ka.wordpress.com
Django Dynamic Formset, v1.2 | elo80ka
https://elo80ka.wordpress.com/2010/04/13/django-dynamic-formset-v1-2
Life Programming. Software. Django Dynamic Formset, v1.2. So, it’s two months later than I’d estimated, but sometime this morning, I committed version 1.2. In spite of the delay (which is a story for another time), I’m pretty excited about this release — I got to add a couple of nifty features, and squash some bugs in the process (thanks for the bug reports and patches, guys). Here’s the list of changes:. Formset({extraClasses: ['row1', 'row2']});. Adding and removing forms keeps the classes in sync, so ...
elo80ka.wordpress.com
Django Dynamic Formset v1.1 released | elo80ka
https://elo80ka.wordpress.com/2009/11/30/django-dynamic-formset-v1-1-released
Life Programming. Software. Django Dynamic Formset v1.1 released. Almost two months ago, I released the Django Dynamic Formset. Plugin, with the hope that someone out there might find it useful. Since then, I’ve received a good bit of feedback, which I’ve been meaning to roll into a new release. Last weekend, I finally made some time to update the documentation and examples, and today, I updated the project site on Google Code. Here’s the short list of changes:. Added two new examples. Stanislaus, this i...
elo80ka.wordpress.com
Parsing experiments in Python | elo80ka
https://elo80ka.wordpress.com/2009/10/07/parsing-experiments-python
Life Programming. Software. Parsing experiments in Python. Recently, I’ve been experimenting with parser generators in Python (we use Python for a lot of our projects at Evince). Previously, I’d hand-written recursive-descent parsers for simple parsing tasks, but I’d never felt comfortable enough using them in production code. A couple of weeks ago, Essien showed me Jane. Anyways, looking at flex and bison got me thinking “surely, there’s got to be stuff like this in Python? Eventually, I selected SPARK.
elo80ka.wordpress.com
Using a FormWizard in the Django admin | elo80ka
https://elo80ka.wordpress.com/2009/10/28/using-a-formwizard-in-the-django-admin
Life Programming. Software. Using a FormWizard in the Django admin. A few weeks ago, I saw this question. For this example, if you’d like to follow along. For our example, we’ll develop a wizard to add employers to a database, for a fictional recruitment application. Adding an employer will be a three-step process:. First, choose a username and password, which the employer will use to login. Make sure to verify the password, by entering it twice. In the Django docs. Well, let’s get started then. Add the ...
elo80ka.wordpress.com
Madness | elo80ka
https://elo80ka.wordpress.com/2010/04/20/madness
Life Programming. Software. Firefox, with less than 2 dozen tabs open, running on my AMD Turion laptop with 2GB of RAM. Tags: Firefox 3.5. Django Dynamic Formset, v1.2. One Response to “Madness”. April 28, 2011 at 4:50 pm. Hi, i think i found a small problem: what if users want to initialize the formsets without any extras? 8230;then the add button doesn’t show up even (to add more forms)…do you have a quick fix for this? Leave a Reply Cancel reply. Enter your comment here. Address never made public).
elo80ka.wordpress.com
Madness | elo80ka
https://elo80ka.wordpress.com/2010/04/20/madness/madness
Life Programming. Software. Firefox, with less than 2 dozen tabs open, running on my AMD Turion laptop with 2GB of RAM. Tags: Firefox 3.5. Django Dynamic Formset, v1.2. One Response to “Madness”. April 28, 2011 at 4:50 pm. Hi, i think i found a small problem: what if users want to initialize the formsets without any extras? 8230;then the add button doesn’t show up even (to add more forms)…do you have a quick fix for this? Leave a Reply Cancel reply. Enter your comment here. Address never made public).