<gh_stars>1-10
from distutils.version import StrictVersion

import django

from django.conf.urls import url

from test_chamber import views  # pylint: disable=E0401


if StrictVersion(django.get_version()) < StrictVersion('1.9'):
    from django.conf.urls import patterns

    urlpatterns = patterns(
        '',
        url(r'^current_time_backend/$', views.current_datetime, name='current-datetime')
    )
else:
    urlpatterns = [
        url(r'^current_time_backend/$', views.current_datetime, name='current-datetime')
    ]

from distutils.version import StrictVersion

import django

from django.conf.urls import url

from test_chamber import views  # pylint: disable=E0401


if StrictVersion(django.get_version()) < StrictVersion('1.9'):
    from django.conf.urls import patterns

    urlpatterns = patterns(
        '',
        url(r'^current_time_backend/$', views.current_datetime, name='current-datetime')
    )
else:
    urlpatterns = [
        url(r'^current_time_backend/$', views.current_datetime, name='current-datetime')
    ]
# pylint: disable=E0401