def make_admin_urlpatterns():
    """Imports the default site admin instance and returns a patterns() list
    configured to serve it at /admin/.
    """
    try:
        from django.conf.urls import patterns, include, url
    except ImportError:
        from django.conf.urls.defaults import patterns, include, url
    from django.contrib import admin
    admin.autodiscover()
    return patterns('', url('^admin/', include(admin.site.urls)))
