
from django.conf.urls.defaults import *

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^account/', include('libravatar.account.urls')),
    (r'^tools/', include('libravatar.tools.urls')),

    (r'^$', 'libravatar.public.views.home'),
    (r'^resize/', 'libravatar.public.views.resize'),
    (r'^resolve/', 'libravatar.public.views.resolve'),

    (r'^admin/', include(admin.site.urls)),
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
)


from django.conf.urls.defaults import *

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^account/', include('libravatar.account.urls')),
    (r'^tools/', include('libravatar.tools.urls')),

    (r'^$', 'libravatar.public.views.home'),
    (r'^resize/', 'libravatar.public.views.resize'),
    (r'^resolve/', 'libravatar.public.views.resolve'),
)

Remove the admin from the url resolver
Remove the admin from the url resolver

  
  from django.conf.urls.defaults import *
  
  from django.contrib import admin
  admin.autodiscover()
  
  urlpatterns = patterns('',
      (r'^account/', include('libravatar.account.urls')),
      (r'^tools/', include('libravatar.tools.urls')),
  
      (r'^$', 'libravatar.public.views.home'),
      (r'^resize/', 'libravatar.public.views.resize'),
      (r'^resolve/', 'libravatar.public.views.resolve'),
- 
-     (r'^admin/', include(admin.site.urls)),
-     (r'^admin/doc/', include('django.contrib.admindocs.urls')),
  )
  
Remove the admin from the url resolver
## Code Before:

from django.conf.urls.defaults import *

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^account/', include('libravatar.account.urls')),
    (r'^tools/', include('libravatar.tools.urls')),

    (r'^$', 'libravatar.public.views.home'),
    (r'^resize/', 'libravatar.public.views.resize'),
    (r'^resolve/', 'libravatar.public.views.resolve'),

    (r'^admin/', include(admin.site.urls)),
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
)

## Instruction:
Remove the admin from the url resolver
## Code After:

from django.conf.urls.defaults import *

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^account/', include('libravatar.account.urls')),
    (r'^tools/', include('libravatar.tools.urls')),

    (r'^$', 'libravatar.public.views.home'),
    (r'^resize/', 'libravatar.public.views.resize'),
    (r'^resolve/', 'libravatar.public.views.resolve'),
)
