Parent: [7ab6ff] (diff)

Child: [fa4d44] (diff)

Download this file

schema.py    20 lines (15 with data), 439 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# -*- coding: utf-8 -*-
"""Setup the pyforge application"""
import logging
from tg import config
import pylons
log = logging.getLogger(__name__)
def setup_schema(command, conf, vars):
"""Place any commands to setup pyforge here"""
import ming
pylons.c._push_object(EmptyClass())
ming.configure(**conf)
from pyforge import model
# Nothing to do
log.info('setup_schema called')
class EmptyClass(object): pass