Added Django and Dictionary plugins, to be developed
This commit is contained in:
parent
f7474ddade
commit
16a5665e3e
2036
gramps/plugins/database/dbdjango.py
Normal file
2036
gramps/plugins/database/dbdjango.py
Normal file
File diff suppressed because it is too large
Load Diff
31
gramps/plugins/database/dictionarydb.gpr.py
Normal file
31
gramps/plugins/database/dictionarydb.gpr.py
Normal file
@ -0,0 +1,31 @@
|
||||
#
|
||||
# Gramps - a GTK+/GNOME based genealogy program
|
||||
#
|
||||
# Copyright (C) 2015 Douglas Blank <doug.blank@gmail.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
|
||||
plg = newplugin()
|
||||
plg.id = 'dictionarydb'
|
||||
plg.name = _("Dictionary Database Backend")
|
||||
plg.name_accell = _("Di_ctionary Database Backend")
|
||||
plg.description = _("Dictionary (in-memory) Database Backend")
|
||||
plg.version = '1.0'
|
||||
plg.gramps_target_version = "4.2"
|
||||
plg.status = STABLE
|
||||
plg.fname = 'dictionarydb.py'
|
||||
plg.ptype = DATABASE
|
||||
plg.databaseclass = 'DictionaryDb'
|
@ -28,17 +28,17 @@ import pickle
|
||||
import base64
|
||||
import time
|
||||
import re
|
||||
from . import DbReadBase, DbWriteBase, DbTxn
|
||||
from . import (PERSON_KEY,
|
||||
FAMILY_KEY,
|
||||
CITATION_KEY,
|
||||
SOURCE_KEY,
|
||||
EVENT_KEY,
|
||||
MEDIA_KEY,
|
||||
PLACE_KEY,
|
||||
REPOSITORY_KEY,
|
||||
NOTE_KEY,
|
||||
TAG_KEY)
|
||||
from gramps.gen.db import DbReadBase, DbWriteBase, DbTxn
|
||||
from gramps.gen.db import (PERSON_KEY,
|
||||
FAMILY_KEY,
|
||||
CITATION_KEY,
|
||||
SOURCE_KEY,
|
||||
EVENT_KEY,
|
||||
MEDIA_KEY,
|
||||
PLACE_KEY,
|
||||
REPOSITORY_KEY,
|
||||
NOTE_KEY,
|
||||
TAG_KEY)
|
||||
|
||||
from gramps.gen.utils.id import create_id
|
||||
from gramps.gen.lib.researcher import Researcher
|
2063
gramps/plugins/database/django_support/libdjango.py
Normal file
2063
gramps/plugins/database/django_support/libdjango.py
Normal file
File diff suppressed because it is too large
Load Diff
31
gramps/plugins/database/djangodb.gpr.py
Normal file
31
gramps/plugins/database/djangodb.gpr.py
Normal file
@ -0,0 +1,31 @@
|
||||
#
|
||||
# Gramps - a GTK+/GNOME based genealogy program
|
||||
#
|
||||
# Copyright (C) 2015 Douglas Blank <doug.blank@gmail.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
|
||||
plg = newplugin()
|
||||
plg.id = 'djangodb'
|
||||
plg.name = _("Django Database Backend")
|
||||
plg.name_accell = _("_Django Database Backend")
|
||||
plg.description = _("Django Object Relational Model Database Backend")
|
||||
plg.version = '1.0'
|
||||
plg.gramps_target_version = "4.2"
|
||||
plg.status = STABLE
|
||||
plg.fname = 'djangodb.py'
|
||||
plg.ptype = DATABASE
|
||||
plg.databaseclass = 'DbDjango'
|
2036
gramps/plugins/database/djangodb.py
Normal file
2036
gramps/plugins/database/djangodb.py
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user