# Path: src/django_compat_patcher/registry.py
# class DjangoPatchingRegistry(PatchingRegistry):
#     def register_compatibility_fixer(self, *args, **kwargs):
# def get_current_django_version():
# def populate_django_fixers_registry(registry):


from functools import partial
from django.core.exceptions import ImproperlyConfigured
from ..deprecation import *
from ..registry import register_django_compatibility_fixer
        from django.urls import (
            get_callable,
            RegexURLPattern,
            URLPattern,
            RegexURLResolver,
            URLResolver,
            NoReverseMatch,
        )
        from django.core.urlresolvers import (
            get_callable,
            RegexURLPattern,
            RegexURLPattern as URLPattern,
            RegexURLResolver,
            RegexURLResolver as URLResolver,
            NoReverseMatch,
        )  # old location
    from django.core import urlresolvers
    from ..django_legacy.django1_10.templatetags import future
    from django.template.backends import django as django_templates
    from django.utils import six
    from ..django_legacy.django1_10.template import defaulttags
    from django.template.engine import Engine
    from django.utils import six
    from django.utils import six
    from django.conf import urls
    from django.conf import urls
    from django.template import smartif
    from django.core.management import base, BaseCommand
            from optparse import OptionParser
    from django.core import management
    import django.templatetags
    import django.template.defaulttags
    import sys
from __future__ import absolute_import, print_function, unicode_literals




# for backward-compatibility fixers
django1_10_bc_fixer = partial(
    register_django_compatibility_fixer,
    fixer_reference_version="1.10",
    fixer_applied_from_version="1.10",
)


def _get_url_utils():
    """
    Get URL utilities through versions, despite them being moved and refactored (with new "path()" syntax).
    """
    try:
    except ImportError:
        # previously, there was no "RoutePattern vs RegexPattern"
    return (
        get_callable,
        RegexURLPattern,
        URLPattern,
        RegexURLResolver,
        URLResolver,
        NoReverseMatch,
    )



# Path: src/django_compat_patcher/registry.py
# class DjangoPatchingRegistry(PatchingRegistry):
#     def register_compatibility_fixer(self, *args, **kwargs):
# def get_current_django_version():
# def populate_django_fixers_registry(registry):


# Path: src/django_compat_patcher/fixers/django1_10.py
from functools import partial
from django.core.exceptions import ImproperlyConfigured
from ..deprecation import *
from ..registry import register_django_compatibility_fixer
        from django.urls import (
            get_callable,
            RegexURLPattern,
            URLPattern,
            RegexURLResolver,
            URLResolver,
            NoReverseMatch,
        )
        from django.core.urlresolvers import (
            get_callable,
            RegexURLPattern,
            RegexURLPattern as URLPattern,
            RegexURLResolver,
            RegexURLResolver as URLResolver,
            NoReverseMatch,
        )  # old location
    from django.core import urlresolvers
    from ..django_legacy.django1_10.templatetags import future
    from django.template.backends import django as django_templates
    from django.utils import six
    from ..django_legacy.django1_10.template import defaulttags
    from django.template.engine import Engine
    from django.utils import six
    from django.utils import six
    from django.conf import urls
    from django.conf import urls
    from django.template import smartif
    from django.core.management import base, BaseCommand
            from optparse import OptionParser
    from django.core import management
    import django.templatetags
    import django.template.defaulttags
    import sys

from __future__ import absolute_import, print_function, unicode_literals




# for backward-compatibility fixers
django1_10_bc_fixer = partial(
    register_django_compatibility_fixer,
    fixer_reference_version="1.10",
    fixer_applied_from_version="1.10",
)


def _get_url_utils():
    """
    Get URL utilities through versions, despite them being moved and refactored (with new "path()" syntax).
    """
    try:
    except ImportError:
        # previously, there was no "RoutePattern vs RegexPattern"
    return (
        get_callable,
        RegexURLPattern,
        URLPattern,
        RegexURLResolver,
        URLResolver,
        NoReverseMatch,
    )



@register_django_compatibility_fixer(