Another hack would be to make your data structure look 'enough' like a Django model such that the generic views would work for you. Remember that Python follows duck-typing principles so if your data structures looks enough like querysets and data models, then you could use the generic views. I doubt you'd be able to do enough to use admin but definitely the generic views. You could probably lift a lot of the Admin css too.
On May 3, 4:12 am, Richard Davies <richard.dav...@elastichosts.com> wrote: > P.S. An obvious hack would be to save all my data from memory into a > Django model, then do the view based on the model. > > I'd like to avoid that if at all possible, both because it's ugly to > save data into the database just to pass it to a view and also because > I'd then get into all kinds of issues with keeping the data in the > database in sync with updates to the data in memory. --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---