Context-aware Loaders

2012-05-29 Thread Dustin Farris
I don't think this is possible yet, but seems like a handy idea, and I'm not the first person to think so. My use case deals with PyJade . Right now, the library wraps the default loaders (similar to the way the django cache loader does) with a Django-spe

Re: Migrating to 1.4

2012-03-14 Thread Dustin Farris
Wow, that's a big project! Thanks for sharing your success story. :) On Wednesday, March 14, 2012 11:22:07 AM UTC-4, Dan Fairs wrote: > > Hi, > > Since most people only ever report bugs, I wanted to report success in the > initial migration of a relatively large project (~35k lines of Python >

Re: AJAX generic views

2012-02-03 Thread Dustin Farris
I am also interested in where this is going. I have written simple extensions of BaseDetailView similar to the approach taken in the "HybridDetailView" example in the documentation (https:// docs.djangoproject.com/en/1.3/topics/class-based-views/#more-than-just- html). Would love to hear other id

Re: End-user defined fields, how would you approach it?

2012-01-29 Thread Dustin Farris
Without getting so complicated, something basic like key-value models.. e.g. class Person(models.Model): pass class Key(models.Model): name = models.CharField() class Attribute(models.Model): person = models.ForeignKey(Person) key = models.ForeignKey(Key) value = models.CharField() W