from django.conf.urls.defaults import *
from django.conf import settings

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^\+media/(?P<path>.*)$', 'django.views.static.serve', 
        {'document_root': settings.MEDIA_ROOT}),
    (r'^admin/', include(admin.site.urls)),
    (r'^(?P<id>\d+)$', 'tempel.views.view', {'mode': 'html'}),
    (r'^(?P<id>\d+).html$', 'tempel.views.view', {'mode': 'html'}),
    (r'^(?P<id>\d+).txt$', 'tempel.views.view', {'mode': 'txt'}),
    (r'^e/(?P<id>\d+)/download/$', 'tempel.views.download'),
    (r'^$', 'tempel.views.index'),
)


@@ -304,24 +304,27 @@
 urls)),%0A    
+url
 (r'%5E(?P%3Cid%3E%5C
@@ -359,39 +359,62 @@
 %7B'mode': 'html'%7D
+, name='tempel_view'
 ),%0A    
+url
 (r'%5E(?P%3Cid%3E%5Cd+).
@@ -458,23 +458,46 @@
  'html'%7D
+, name='tempel_html'
 ),%0A    
+url
 (r'%5E(?P%3C
@@ -547,23 +547,45 @@
 : 'txt'%7D
+, name='tempel_raw'
 ),%0A    
+url
 (r'%5Ee/(?
@@ -630,23 +630,50 @@
 ownload'
+, name='tempel_download'
 ),%0A    
+url
 (r'%5E$', 
@@ -692,14 +692,35 @@
 s.index'
+, name='tempel_index'
 ),%0A)%0A%0A

Add names to each url