Archives Sept. 27, 2011

Django Model Forms made easier...

Django model forms are already easy.  How could they be easier?

@decorators.with_X( request, model_class, key, url_field, parameter, required=True )
def my_view( parameter ):

We also use decorators that do x.y lookup on another parameter (i.e. lookup a particular object in the fields of another object based on ids (root_object.field.get( id=...))).  Sure, it winds up hitting ...

Continue reading

Previous day

Sept. 25, 2011

Next day

Sept. 28, 2011