mergeobject
This commit is contained in:
parent
6abb5fe763
commit
84764f727b
@ -1,5 +1,7 @@
|
||||
**EXPERIMENTAL**
|
||||
|
||||
automatically replace foreign keys as part of a merge operation
|
||||
|
||||
tested on Django 1.7 and 1.8
|
||||
somewhat tested on Django 1.7 and 1.8
|
||||
|
||||
very likely has some unsupported edge cases
|
||||
|
8
setup.py
8
setup.py
@ -1,16 +1,16 @@
|
||||
from setuptools import setup
|
||||
|
||||
setup(
|
||||
name='fkreplace',
|
||||
name='mergeobject',
|
||||
version="0.1.0",
|
||||
package_dir={'fkreplace': 'fkreplace'},
|
||||
packages=['fkreplace'],
|
||||
package_dir={'mergeobject': 'mergeobject'},
|
||||
packages=['mergeobject'],
|
||||
description='',
|
||||
long_description='',
|
||||
author='James Turk',
|
||||
author_email='james.p.turk@gmail.com',
|
||||
license='BSD',
|
||||
url='https://github.com/jamesturk/fkreplace/',
|
||||
url='https://github.com/jamesturk/django-mergeobject/',
|
||||
platforms=["any"],
|
||||
classifiers=[
|
||||
'License :: OSI Approved :: BSD License',
|
||||
|
@ -1,7 +1,6 @@
|
||||
SECRET_KEY = 'so-secret'
|
||||
|
||||
INSTALLED_APPS = (
|
||||
'fkreplace',
|
||||
'tests',
|
||||
)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from django.test import TestCase
|
||||
from .models import Person, Number, SSN, Group
|
||||
from fkreplace import merge, OneToOneConflict, KEEP, DELETE
|
||||
from mergeobject import merge, OneToOneConflict, KEEP, DELETE
|
||||
|
||||
class MergeTests(TestCase):
|
||||
def setUp(self):
|
||||
|
Loading…
Reference in New Issue
Block a user