# Path: djedi/compat.py
# def patterns(*urls):
#         def parse_bits(parser, bits, params, varargs, varkw, defaults,
#                        takes_context, name):
#     def generic_tag_compiler(parser, token, params, varargs, varkw, defaults,
#                              name, takes_context, node_class):
#         def __init__(self, *args, **kwargs):
#     def get_cache(name):
#     def getargspec(func):
#     class TemplateResponse(BaseTemplateResponse):


import django
from django.contrib import admin
from django.shortcuts import render_to_response
from ..compat import include, patterns, url


admin.autodiscover()

if django.VERSION < (2, 0):
    admin_urls = include(admin.site.urls)
else:
    admin_urls = admin.site.urls

urlpatterns = patterns(
    url(r'^$', lambda r: render_to_response('index.html'), name='index'),
    url(r'^adm1n/', admin_urls),

# Path: djedi/compat.py
# def patterns(*urls):
#         def parse_bits(parser, bits, params, varargs, varkw, defaults,
#                        takes_context, name):
#     def generic_tag_compiler(parser, token, params, varargs, varkw, defaults,
#                              name, takes_context, node_class):
#         def __init__(self, *args, **kwargs):
#     def get_cache(name):
#     def getargspec(func):
#     class TemplateResponse(BaseTemplateResponse):


# Path: djedi/tests/urls.py
import django
from django.contrib import admin
from django.shortcuts import render_to_response
from ..compat import include, patterns, url



admin.autodiscover()

if django.VERSION < (2, 0):
    admin_urls = include(admin.site.urls)
else:
    admin_urls = admin.site.urls

urlpatterns = patterns(
    url(r'^$', lambda r: render_to_response('index.html'), name='index'),
    url(r'^adm1n/', admin_urls),

    url(r'^djed1/', include('djedi.urls', namespace='admin'))