Fev 2011

Change object after saving all inlines in Django Admin

12 Fev 2011

Admin is an awesome Django builtin app to create nice CRUDs for your models, and offers a lot of customizations hooks. You can personalize the templates, perform custom filters, modify newly created objects and if that's not enough, you can always create your own view to do something it doesn't by default.

Continue lendo

Adding methods dynamically in Python

06 Fev 2011

Given the dynamic nature of Python you can do many things in runtime, like add methods dynamically to an object or class. This is particularly useful when writing unit tests.

Continue lendo