Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
601 changes: 284 additions & 317 deletions django_mongodb_cli/repo.py

Large diffs are not rendered by default.

42 changes: 20 additions & 22 deletions django_mongodb_cli/config.py → django_mongodb_cli/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
},
"settings": {
"test": {
"source": join("config", "django", "django_settings.py"),
"source": join("test", "settings", "django.py"),
"target": join("src", "django", "tests", "mongo_settings.py"),
},
"migrations": {
"source": join("config", "django", "django_settings.py"),
"source": join("test", "settings", "django.py"),
"target": join("src", "django", "tests", "mongo_settings.py"),
},
"module": {
Expand All @@ -44,7 +44,7 @@
},
"django-filter": {
"apps_file": {
"source": join("config", "filter", "filter_apps.py"),
"source": join("test", "apps", "django_filter.py"),
"target": join("src", "django-filter", "tests", "mongo_apps.py"),
},
"test_command": "./runtests.py",
Expand All @@ -61,11 +61,11 @@
"clone_dir": join("src", "django-filter"),
"settings": {
"test": {
"source": join("config", "filter", "filter_settings.py"),
"source": join("test", "settings", "django_filter.py"),
"target": join("src", "django-filter", "tests", "settings.py"),
},
"migrations": {
"source": join("config", "filter", "filter_settings.py"),
"source": join("test", "settings", "django_filter.py"),
"target": join("src", "django-filter", "tests", "settings.py"),
},
"module": {
Expand All @@ -77,7 +77,7 @@
},
"django-rest-framework": {
"apps_file": {
"source": join("config", "rest_framework", "rest_framework_apps.py"),
"source": join("test", "apps", "rest_framework.py"),
"target": join("src", "django-rest-framework", "tests", "mongo_apps.py"),
},
"migrations_dir": {
Expand All @@ -89,13 +89,11 @@
"clone_dir": join("src", "django-rest-framework"),
"settings": {
"test": {
"source": join(
"config", "rest_framework", "rest_framework_settings.py"
),
"source": join("test", "settings", "rest_framework.py"),
"target": join("src", "django-rest-framework", "tests", "conftest.py"),
},
"migrations": {
"source": join("config", "rest_framework", "rest_framework_migrate.py"),
"source": join("test", "settings", "rest_framework_migrations.py"),
"target": join("src", "django-rest-framework", "tests", "conftest.py"),
},
"module": {
Expand All @@ -107,7 +105,7 @@
},
"wagtail": {
"apps_file": {
"source": join("config", "wagtail", "wagtail_apps.py"),
"source": join("test", "apps", "wagtail.py"),
"target": join("src", "wagtail", "wagtail", "test", "mongo_apps.py"),
},
"migrations_dir": {
Expand All @@ -124,13 +122,13 @@
"clone_dir": join("src", "wagtail"),
"settings": {
"test": {
"source": join("config", "wagtail", "wagtail_settings.py"),
"source": join("test", "settings", "wagtail.py"),
"target": join(
"src", "wagtail", "wagtail", "test", "mongo_settings.py"
),
},
"migrations": {
"source": join("config", "wagtail", "settings_wagtail.py"),
"source": join("test", "settings", "wagtail.py"),
"target": join(
"src", "wagtail", "wagtail", "test", "mongo_settings.py"
),
Expand All @@ -147,7 +145,7 @@
},
"django-debug-toolbar": {
"apps_file": {
"source": join("config", "debug_toolbar", "debug_toolbar_apps.py"),
"source": join("test", "apps", "debug_toolbar.py"),
"target": join(
"src", "django-debug-toolbar", "debug_toolbar", "mongo_apps.py"
),
Expand All @@ -157,13 +155,13 @@
"clone_dir": join("src", "django-debug-toolbar"),
"settings": {
"test": {
"source": join("config", "debug_toolbar", "debug_toolbar_settings.py"),
"source": join("test", "settings", "debug_toolbar.py"),
"target": join(
"src", "django-debug-toolbar", "debug_toolbar", "mongo_settings.py"
),
},
"migrations": {
"source": join("config", "debug_toolbar", "debug_toolbar_settings.py"),
"source": join("test", "settings", "debug_toolbar.py"),
"target": join(
"src", "django-debug-toolbar", "debug_toolbar", "mongo_settings.py"
),
Expand All @@ -179,7 +177,7 @@
},
"django-mongodb-extensions": {
"apps_file": {
"source": join("config", "extensions", "debug_toolbar_apps.py"),
"source": join("test", "apps", "django_mongodb_extensions.py"),
"target": join(
"src",
"django-mongodb-extensions",
Expand All @@ -192,7 +190,7 @@
"clone_dir": join("src", "django-mongodb-extensions"),
"settings": {
"test": {
"source": join("config", "extensions", "debug_toolbar_settings.py"),
"source": join("test", "settings", "django_mongodb_extensions.py"),
"target": join(
"src",
"django-mongodb-extensions",
Expand All @@ -201,7 +199,7 @@
),
},
"migrations": {
"source": join("config", "extensions", "debug_toolbar_settings.py"),
"source": join("test", "extensions", "debug_toolbar_settings.py"),
"target": join(
"src",
"django-mongodb-extensions",
Expand All @@ -225,16 +223,16 @@
"test_dir": join("src", "django-allauth"),
"clone_dir": join("src", "django-allauth"),
"apps_file": {
"source": join("config", "allauth", "allauth_apps.py"),
"source": join("test", "apps", "allauth.py"),
"target": join("src", "django-allauth", "allauth", "mongo_apps.py"),
},
"settings": {
"test": {
"source": join("config", "allauth", "allauth_settings.py"),
"source": join("test", "settings", "allauth.py"),
"target": join("src", "django-allauth", "allauth", "mongo_settings.py"),
},
"migrations": {
"source": join("config", "allauth", "allauth_settings.py"),
"source": join("test", "settings", "allauth.py"),
"target": join("src", "django-allauth", "allauth", "mongo_settings.py"),
},
"module": {
Expand Down
Loading