from django.conf.urls import patterns, include, url

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # include urls from your app like so
    # url(r'^', include('my_app.urls')),
    url(r'^admin/', include(admin.site.urls)),
)

from django.conf.urls import patterns, include, url

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^admin/', include(admin.site.urls)),

    # include urls from your app like so
    # url(r'^', include('my_app.urls')),
)

Put admin at the top of the default URLs
Put admin at the top of the default URLs
