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

from .views import btax_results, output_detail, csv_input, csv_output, pdf_view, edit_btax_results


urlpatterns = patterns('',
    url(r'^$', btax_results, name='btax_tax_form'),
    url(r'^(?P<pk>\d+)/output.csv/$', csv_output, name='btax_csv_output'),
    url(r'^(?P<pk>\d+)/input.csv/$', csv_input, name='btax_csv_input'),
    url(r'^(?P<pk>\d+)/', output_detail, name='btax_output_detail'),
    url(r'^pdf/$', pdf_view),
    url(r'^edit/(?P<pk>\d+)/', edit_btax_results, name='btax_edit_btax_results'),
)

@@ -97,41 +97,8 @@
 ail,
- csv_input, csv_output, pdf_view,
  edi
@@ -112,16 +112,16 @@
 results%0A
+
 %0A%0Aurlpat
@@ -197,155 +197,8 @@
 '),%0A
-    url(r'%5E(?P%3Cpk%3E%5Cd+)/output.csv/$', csv_output, name='btax_csv_output'),%0A    url(r'%5E(?P%3Cpk%3E%5Cd+)/input.csv/$', csv_input, name='btax_csv_input'),%0A
     
@@ -266,38 +266,8 @@
 '),%0A
-    url(r'%5Epdf/$', pdf_view),%0A
     

make corresponding changes in urls.py for views that are gone (csv/pdf)