Hi I have come back to Django after a short break and am finding the new trunk with the old MR branch a lovely tool indeed :-) Kudos.
I am trying to balance the development and maintance time going forward with the development time now with run time performance. I really like the way the admin presents forms using the field sets. Its almost exactly what I want. Of course the "Object List" on the main admin page is not what I want, nor is the layout and nav relevant to my site. So I was looking at the way the admin renders form sets using the class Admin and fields. This is a really nice way to start a site, because as changes happen freqently you only need to change the model and your templates can fall in line automaitcally building the forms and fieldsets from the model. Means until you need a custom form, you dont need to do much work to bring a new screen live, cause between generic views and a this you should be set. My questions arise from looking at the implemtnation. The first, which I am experimenting with, but will ask anyways, is about performance. Arnt all those layers of templates and template tags a bit of a hit to performance? I mean for most projects (and for mine its gaurenteed) the admin class will not change from instance to instance, however the templates are rebuilt each time they are displayed (it appears). I looked at caching and dont think it applies because there will be paramters passed to it. In my mind its almost like you need to template for your template :-) You render the form structure once on server startup and replace that into your normal template, the normal template then just substitutes the bits that are changing with each call. I have probably missed something here, but was interested in seeing if anyone had tried this before or had any thoughts on dynamic form generation or the above observation. Thanks, C --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---