Re: Where do I put the code to fetch data not coming from a DB

2008-03-27 Thread Zack
So. If you aren't using a relational db, maybe you don't really want to be using subclasses of django models to pull your data out of SVN. My initial thought would be that you should do something like write an abstract class that has the necessary methods for providing the CRUD equivalent actions

Re: Where do I put the code to fetch data not coming from a DB

2008-03-27 Thread Michael Wieher
good question.. I don't honestly know if you can configure django's models to reference plain-text, or whatever this library-of-data is. most likely you'll just have to disable database use and write your own access routines. On Thu, Mar 27, 2008 at 6:09 AM, Rishabh Manocha <[EMAIL PROTECTED]> wr

Where do I put the code to fetch data not coming from a DB

2008-03-27 Thread Rishabh Manocha
Hey guys, I'm starting work on a project and for now, won't be using a db with it. Instead, I'll be using a library which fetches all the data I need from a local SVN store. I was wondering where should I access this library from - the model (models.py) or the view (views.py)?? I don't know if th