baf98375f3
svn: r19673
25 lines
618 B
Python
25 lines
618 B
Python
from django.conf import settings
|
|
import webapp.settings as default_settings
|
|
try:
|
|
settings.configure(default_settings)
|
|
except RuntimeError:
|
|
# already configured; ignore
|
|
pass
|
|
|
|
from webapp.grampsdb.models import *
|
|
from webapp.grampsdb.forms import *
|
|
from webapp.dbdjango import DbDjango
|
|
from webapp.reports import import_file
|
|
from webapp.libdjango import DjangoInterface, totime, todate
|
|
from gen.datehandler import displayer, parser
|
|
import gen.lib
|
|
|
|
db = DbDjango()
|
|
dji = DjangoInterface()
|
|
dd = displayer.display
|
|
dp = parser.parse
|
|
|
|
#def Print(m):
|
|
# print m
|
|
#import_file(db, "/tmp/dblank-im_ged.ged", Print)
|