<reponame>tomi77/django_auth_role
import django
from django.contrib import admin

admin.autodiscover()

if django.VERSION[:2] < (1, 10):
    from django.conf.urls import patterns, include

    urlpatterns = patterns('', (r'^admin/', include(admin.site.urls)))
else:
    from django.conf.urls import url

    urlpatterns = [
        url(r'^admin/', admin.site.urls),
    ]

import django
from django.contrib import admin

admin.autodiscover()

if django.VERSION[:2] < (1, 10):
    from django.conf.urls import patterns, include

    urlpatterns = patterns('', (r'^admin/', include(admin.site.urls)))
else:
    from django.conf.urls import url

    urlpatterns = [
        url(r'^admin/', admin.site.urls),
    ]