old_contents: from django.conf.urls.defaults import *
  from fileupload.views import PictureCreateView, PictureDeleteView
  
  
  urlpatterns = patterns('',
  
      (r'^new/$', PictureCreateView.as_view(), {}, 'upload-new'),
      (r'^delete/(?P<pk>\d+)$', PictureDeleteView.as_view(), {}, 'upload-delete'),
  )
  
new_contents: from django.conf.urls.defaults import *
  from fileupload.views import PictureCreateView, PictureDeleteView #after here i add it this
  from django.conf.urls.defaults import patterns, include, url
  from django.contrib import admin
  
  admin.autodiscover()
  
  urlpatterns = patterns('',
  
      (r'^new/$', PictureCreateView.as_view(), {}, 'upload-new'),
      (r'^delete/(?P<pk>\d+)$', PictureDeleteView.as_view(), {}, 'upload-delete'),#i add this here!
      
       # Examples:
      # url(r'^$', 'upload.views.home', name='home'),
      url(r'^upload/', include('fileupload.urls')),
  
      # Uncomment the admin/doc line below to enable admin documentation:
      # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
  
      # Uncomment the next line to enable the admin:
      url(r'^admin/', include(admin.site.urls)),
  )
  
  
  
     
  
  import os
  urlpatterns += patterns('',
          (r'^media/(.*)$', 'django.views.static.serve', {'document_root': os.path.join(os.path.abspath(os.path.dirname(__file__)), 'media')}),
  )
  
subject: Update urls.py