#4470: Separate models.py in multiple files
-----------------------------------------------------------+----------------
Reporter: Sidi Mohamed EL AATIFI <[EMAIL PROTECTED]> |
Owner: adrian
Status: new |
Component: Database wrapper
Version: SVN |
Resolution:
Keywords: models |
Stage: Design decision needed
Has_patch: 1 |
Needs_docs: 0
Needs_tests: 1 |
Needs_better_patch: 0
-----------------------------------------------------------+----------------
Comment (by [EMAIL PROTECTED]):
I would love to be able to split my models. Currently I am using
models.py to import from my separated models.
# models.py
import book, author
class Book(book.Book):
pass
class Author(author.Author):
pass
--
Ticket URL: <http://code.djangoproject.com/ticket/4470#comment:9>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---