add initial docs
This commit is contained in:
parent
df7fad8edc
commit
69e92c13db
19 changed files with 878 additions and 30 deletions
|
@ -39,7 +39,7 @@ class InitDatabaseCommand(commands.Subcommand):
|
|||
description = "Initialize the database"
|
||||
|
||||
def run(self, args):
|
||||
from edbob.db import engine, Session
|
||||
from edbob.db import engine
|
||||
from edbob.db.util import install_core_schema
|
||||
from edbob.db.exceptions import CoreSchemaAlreadyInstalled
|
||||
|
||||
|
@ -50,6 +50,9 @@ class InitDatabaseCommand(commands.Subcommand):
|
|||
print err
|
||||
return
|
||||
|
||||
# Activate any extensions you like here...
|
||||
|
||||
from edbob.db import Session
|
||||
from edbob.db.classes import Role, User
|
||||
from edbob.db.auth import administrator_role
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue