On 2/23/06, Deepak Sarda <[EMAIL PROTECTED]> wrote: > 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?
Yeah, you should be fine. > Also, Generic Views are out of the question I guess. You can still use some of the generic views, such as direct_to_template, but the rest of them require you to pass in a Django model so it wouldn't make much sense to use them without database tables. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---