On 24 nov, 10:28, Elyrwen <elyrwendyn...@gmail.com> wrote: > Hello, > > I' ve been recently interested in Djagno framework and I am at the > point of choosing it as the framework for my project. My application > will not use database, but will use webservices to get data and then > process it. > > I need a substitute for the Django model layer. Precisely I need a > class that would parse a wsdl (this I am doing with suds) and then > call the remote methods. There should be one instance of this class > served by all requests to > avoid parsing wsdl for evey request - sort of a singleton class that > would keep parsed stubs. It is possible to place such shared class in > Django? Can you point me to some solutions that avoid parsing wsdl > with each new request? > > Maybe there is yet another way to obtain it with Django?
Others already gave you good answers - like using the db/model layer as a local cache, which, FWIW, it's probably how I would solve this problem. I'd just like to add a more general comment: Django is a Python framework, and your views can act on just any Python object. So if and when you don't need the ORM part, don't use it !-) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.