Monday, August 22, 2011

Re: Specific models without a database table

On 20 août, 03:33, Kristofer Pettijohn <kristo...@cybernetik.net>
wrote:
> Hello,
>
> Is it possible to create specific models without a database table?


Depends on your definition of "models". If you mean "django.db.Model"
subclasses, nope - this part is nothing but a layer between your app
and the database. Now you can obviously write "domain model" classes
that are not tied to a relational DB, but you won't have the
querying / persistance support provided by Django's ORM.

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate