On 2/23/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > The pieces of Django -- database access, template system, URL > dispatching -- are completely decoupled, so you can indeed write a > Django site that doesn't use a database. To do this, just write your > views and don't make any database calls; it's simple. :)
Super! One more question though. I would still like to keep all data logic in models/myapp.py 'cos it is cleaner that way. Looking at the tutorials, I suppose it would be fine.. I create regular classes (no inheriting from meta.Model) and then just import the model in my views. Am I right? Also, Generic Views are out of the question I guess. Thanks, Deepak -- antrix.net --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---