Skip to content

Commit

Permalink
{fixtures => fixture_helper}
Browse files Browse the repository at this point in the history
  • Loading branch information
jedie committed Sep 17, 2018
1 parent d8d6632 commit 6ca8803
Show file tree
Hide file tree
Showing 14 changed files with 218 additions and 201 deletions.
9 changes: 9 additions & 0 deletions README.creole
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,19 @@ It's on the TODO, see: [[https://github.com/jedie/django-cms-tools/issues/1|issu
* Support Django v2.0 and run tests against these versions.
== Backwards-incompatible changes

=== v0.7

* {{{django_cms_tools.fixtures}}} renamed to: {{{django_cms_tools.fixture_helper}}}
* remove {{{django_cms_tools.fixtures.languages}}}
== history

* *dev* - [[https://github.com/jedie/django-cms-tools/compare/v0.6.10...master|compare v0.6.10...master]]
* v0.7.0 - TBD
** {{{django_cms_tools.fixtures}}} renamed to: {{{django_cms_tools.fixture_helper}}}
** remove {{{django_cms_tools.fixtures.languages}}}
* v0.6.11 - 21.06.2018 - [[https://github.com/jedie/django-cms-tools/compare/v0.6.10...v0.6.11|compare v0.6.10...v0.6.11]]
** Bugfix CmsPageCreator if create process will try to find the published page instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from django.core.management.base import BaseCommand

from django_cms_tools.fixtures.pages import create_dummy_pages
from django_cms_tools.fixture_helper.pages import create_dummy_pages


class Command(BaseCommand):
Expand Down
File renamed without changes.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion django_cms_tools/plugin_anchor_menu/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from django.conf import settings
from django.utils.text import slugify

from django_cms_tools.fixtures.pages import CmsPageCreator
from django_cms_tools.fixture_helper.pages import CmsPageCreator
from django_cms_tools.plugin_anchor_menu import constants as plugin_anchor_menu_constants


Expand Down
2 changes: 1 addition & 1 deletion django_cms_tools/plugin_landing_page/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from django_tools.parler_utils.parler_fixtures import ParlerDummyGenerator

# Django CMS Tools
from django_cms_tools.fixtures.pages import CmsPageCreator
from django_cms_tools.fixture_helper.pages import CmsPageCreator
from django_cms_tools.plugin_landing_page.models import LandingPageModel

log = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion django_cms_tools/unittest_utils/add_cms_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from django_tools.unittest_utils.user import TestUserMixin

# Django CMS Tools
from django_cms_tools.fixtures.pages import CmsPageCreator
from django_cms_tools.fixture_helper.pages import CmsPageCreator
from django_cms_tools.unittest_utils.page_mixins import CmsPageTestUtilsMixin

PLUGIN_TEST_PLACEHOLDER_SLOT="plugin_test_content"
Expand Down
2 changes: 1 addition & 1 deletion django_cms_tools_test_project/test_cms_plugin/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from django_tools.fixture_tools.languages import iter_languages

# Django CMS Tools
from django_cms_tools.fixtures.pages import CmsPageCreator, CmsPluginPageCreator
from django_cms_tools.fixture_helper.pages import CmsPageCreator, CmsPluginPageCreator
from django_cms_tools_test_project.test_cms_plugin.cms_plugin import RelatedPlugin
from django_cms_tools_test_project.test_cms_plugin.models import EntryModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

# Django CMS Tools
import django_cms_tools_test_project
from django_cms_tools.fixtures.pages import CmsPageCreator
from django_cms_tools.fixture_helper.pages import CmsPageCreator
from django_cms_tools_test_project.test_cms_plugin.fixtures import create_related_plugin

MANAGE_DIR = os.path.abspath(os.path.dirname(django_cms_tools_test_project.__file__))
Expand Down
2 changes: 1 addition & 1 deletion django_cms_tools_tests/test_command_list_page_by_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

# Django CMS Tools
import django_cms_tools_test_project
from django_cms_tools.fixtures.pages import CmsPageCreator
from django_cms_tools.fixture_helper.pages import CmsPageCreator

MANAGE_DIR = os.path.abspath(os.path.dirname(django_cms_tools_test_project.__file__))

Expand Down
2 changes: 1 addition & 1 deletion django_cms_tools_tests/test_command_template_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Django CMS Tools
import django_cms_tools_test_project
from django_cms_tools.fixtures.pages import create_cms_index_pages
from django_cms_tools.fixture_helper.pages import create_cms_index_pages
from django_cms_tools_test_project.test_cms_plugin.fixtures import create_testapp_cms_plugin_page

MANAGE_DIR = os.path.abspath(os.path.dirname(django_cms_tools_test_project.__file__))
Expand Down
Loading

0 comments on commit 6ca8803

Please sign in to comment.