# Path: cities/util.py
# def patterns(prefix, *args):
#     if DJANGO_VERSION < (1, 9):
#         from django.conf.urls import patterns as django_patterns
#         return django_patterns(prefix, *args)
#     elif prefix != '':
#         raise Exception("You need to update your URLConf to be a list of URL "
#                         "objects")
#     else:
#         return list(args)


from django.conf.urls import url
from django.contrib import admin
from django.core.exceptions import ImproperlyConfigured
from cities.util import patterns
    from django.conf.urls import include



app_name = "test_app"

try:
    # Django < 2.0
    urlpatterns = patterns(
        '',
        # Examples:
        # url(r'^$', 'test_project.views.home', name='home'),
        # url(r'^blog/', include('blog.urls')),

        url(r'^admin/', include(admin.site.urls)),
    )
except ImproperlyConfigured:
    # Django >= 2.0

# Path: cities/util.py
# def patterns(prefix, *args):
#     if DJANGO_VERSION < (1, 9):
#         from django.conf.urls import patterns as django_patterns
#         return django_patterns(prefix, *args)
#     elif prefix != '':
#         raise Exception("You need to update your URLConf to be a list of URL "
#                         "objects")
#     else:
#         return list(args)


# Path: test_project/test_app/urls.py
from django.conf.urls import url
from django.contrib import admin
from django.core.exceptions import ImproperlyConfigured
from cities.util import patterns
    from django.conf.urls import include




app_name = "test_app"

try:
    # Django < 2.0
    urlpatterns = patterns(
        '',
        # Examples:
        # url(r'^$', 'test_project.views.home', name='home'),
        # url(r'^blog/', include('blog.urls')),

        url(r'^admin/', include(admin.site.urls)),
    )
except ImproperlyConfigured:
    # Django >= 2.0

    urlpatterns = patterns(