Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`coincharts.db` ... access the entire ORM from outside of web framework.
- Loading branch information
Showing with 24 additions and 0 deletions.
|@@ -0,0 +1,21 @@|
|# -*- mode: python; coding: utf-8 -*-|
|"""Using Trix(tm), re-export `modules.*` and make models (and ORM) usable outside of web framework.|
|So, if you have django "app" `foo` installed as a package, from anywhere you should be able to|
|>>> record = foo.db.SomeTable(**kwargs)|
|from .settings import *|
|from django.conf import settings|
|from .models import *|