from django.conf.urls.defaults import patterns, include, handler500, url
from django.conf import settings

from django.contrib import admin

handler500 # Pyflakes

urlpatterns = patterns(
    '',

    # Profile view
    url(r'^p/(?P<username>\w+)/$', 'commoner_i.views.badge',
        name='profile_badge'),

)

from django.conf.urls.defaults import patterns, include, handler500, handler404, url
from django.conf import settings

from django.contrib import admin

urlpatterns = patterns(
    '',

    # Profile view
    url(r'^p/(?P<username>\w+)/$', 'commoner_i.views.badge',
        name='profile_badge'),

)

Use the default 404/500 handlers for i.cc.net.
Use the default 404/500 handlers for i.cc.net.

- from django.conf.urls.defaults import patterns, include, handler500, url
+ from django.conf.urls.defaults import patterns, include, handler500, handler404, url
  from django.conf import settings
  
  from django.contrib import admin
- 
- handler500 # Pyflakes
  
  urlpatterns = patterns(
      '',
  
      # Profile view
      url(r'^p/(?P<username>\w+)/$', 'commoner_i.views.badge',
          name='profile_badge'),
  
  )
  
Use the default 404/500 handlers for i.cc.net.
## Code Before:
from django.conf.urls.defaults import patterns, include, handler500, url
from django.conf import settings

from django.contrib import admin

handler500 # Pyflakes

urlpatterns = patterns(
    '',

    # Profile view
    url(r'^p/(?P<username>\w+)/$', 'commoner_i.views.badge',
        name='profile_badge'),

)

## Instruction:
Use the default 404/500 handlers for i.cc.net.
## Code After:
from django.conf.urls.defaults import patterns, include, handler500, handler404, url
from django.conf import settings

from django.contrib import admin

urlpatterns = patterns(
    '',

    # Profile view
    url(r'^p/(?P<username>\w+)/$', 'commoner_i.views.badge',
        name='profile_badge'),

)
