from corehq.apps.fixtures.views import UploadItemLists
from corehq.apps.fixtures.dispatcher import FixtureInterfaceDispatcher
from corehq.apps.fixtures.interface import FixtureEditInterface
from django.conf.urls.defaults import patterns, url
from django.core.urlresolvers import reverse_lazy
from django.views.generic import RedirectView

urlpatterns = patterns('corehq.apps.fixtures.views',
    url(r'^fixapi/', 'upload_fixture_api'),
    url(r'^$', RedirectView.as_view(url='edit_lookup_tables')),
    FixtureInterfaceDispatcher.url_pattern(),
    url(r'^edit_lookup_tables/data-types/$', 'tables', name='fixture_data_types'),
    url(r'^edit_lookup_tables/download/$', 'download_item_lists', name="download_fixtures"),
    url(r'^edit_lookup_tables/upload/$', UploadItemLists.as_view(), name='upload_fixtures'),
    url(r'^edit_lookup_tables/file/$', 'download_file', name="download_fixture_file"),
    url(r'^edit_lookup_tables/update-tables/(?P<data_type_id>[\w-]+)?$', 'update_tables', name='update_lookup_tables')
)
@@ -1,28 +1,71 @@
+from django.conf.urls import url, patterns%0A
 from corehq.apps.fixtures.vi
@@ -166,173 +166,8 @@
 her%0A
-from corehq.apps.fixtures.interface import FixtureEditInterface%0Afrom django.conf.urls.defaults import patterns, url%0Afrom django.core.urlresolvers import reverse_lazy
 %0Afro
@@ -370,20 +370,16 @@
 bles')),
-%0A   
  Fixture

clean up imports and remove deprecated calls