Re: Presenting information from an external system

2006-06-12 Thread [EMAIL PROTECTED]
Bill de hÓra wrote: > I think you're making things complicated - you don't want to deal with a > database but do want to pass marshaled python structures into django > templates. Don't do an end run around the framework. The way to go > about this is to pull down the XML scheduled via cron or som

Re: Presenting information from an external system

2006-06-10 Thread Bill de hÓra
[EMAIL PROTECTED] wrote: > Hi, > > I understand the suggestion and it does make sense, as do the other > that have been suggested. However, I am thinking about the following > issues: > > 1. The data that I am consuming (XML) is a pretty complex structure. I > want to convert it to a Python stru

Re: Presenting information from an external system

2006-06-09 Thread [EMAIL PROTECTED]
Hi, I understand the suggestion and it does make sense, as do the other that have been suggested. However, I am thinking about the following issues: 1. The data that I am consuming (XML) is a pretty complex structure. I want to convert it to a Python structure that I can pass to Django templates

Re: Presenting information from an external system

2006-06-09 Thread Adrian Holovaty
On 6/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > In this particular case, I need to hit a URL that will give me back > some XML. I need to process the XML and put it in data structures that > I want to present with Django. > > Since the fetching and processing of XML can take more than a

Re: Presenting information from an external system

2006-06-09 Thread Jay Parlar
On 6/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > I intend to use Django for a project that involves presenting some > information comming from an external system. > > In this particular case, I need to hit a URL that will give me back > some XML. I need to process the XML and pu

Re: Presenting information from an external system

2006-06-09 Thread [EMAIL PROTECTED]
Thanks for the suggestion, Tom. However, I would like to stay away from a database at this point. The information I need to present comes from an existing database which I have to access through the XML I was talking about. I plan to write another post very soon about the various ways to integrat

Re: Presenting information from an external system

2006-06-09 Thread tomass
Another approach might be to simply run this as an independent process (from cron, or whatever) and use django's ORM from within that script to update the database which can then be viewed in your web app. I've done this quite successfully with some of my apps. --~--~-~--~~-

Presenting information from an external system

2006-06-09 Thread [EMAIL PROTECTED]
Hi, I intend to use Django for a project that involves presenting some information comming from an external system. In this particular case, I need to hit a URL that will give me back some XML. I need to process the XML and put it in data structures that I want to present with Django. Since the