Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can also have a /models/ package with foo.py, bar.py under it. It is easier to maintain.

As an additional bonus, you can add an __init__.py that imports all models if you want to be able to do a `from .models import FooModel`.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: