from django.conf.urls.defaults import *
from django.contrib.auth.decorators import login_required
from ocradmin.core import views

urlpatterns = patterns('',
   (r'^/?$', 'ocradmin.core.views.index'),
    (r'^abort/(?P<task_id>[^\/]+)/?$', login_required(views.abort)),
    (r'^task_transcript/(?P<task_pk>\d+)/?$', login_required(views.task_transcript)),
    (r'^save/(?P<task_pk>\d+)/?$', login_required(views.save_transcript)),
    (r'^submit_viewer_binarization/(?P<task_pk>\d+)/?$', 
            login_required(views.submit_viewer_binarization)),
    (r'^transcript/(?P<task_pk>\d+)/?$', login_required(views.transcript)),
    (r'^task_config/(?P<task_pk>\d+)/?$', login_required(views.task_config)),
    (r'^result/(?P<task_id>[^\/]+)/?$', login_required(views.result)),
    (r'^results/(?P<task_ids>[^\/]+)/?$', login_required(views.results)),
    (r'^update_task/(?P<task_pk>\d+)/?$', login_required(views.update_ocr_task)),
	(r'^test/?$', views.test),
	(r'^testparams/?$', views.testparams),
)

@@ -267,366 +267,8 @@
 )),%0A
-    (r'%5Etask_transcript/(?P%3Ctask_pk%3E%5Cd+)/?$', login_required(views.task_transcript)),%0A    (r'%5Esave/(?P%3Ctask_pk%3E%5Cd+)/?$', login_required(views.save_transcript)),%0A    (r'%5Esubmit_viewer_binarization/(?P%3Ctask_pk%3E%5Cd+)/?$', %0A            login_required(views.submit_viewer_binarization)),%0A    (r'%5Etranscript/(?P%3Ctask_pk%3E%5Cd+)/?$', login_required(views.transcript)),%0A
     

Fix core urls after action removal