<s> from django . conf . urls import * <EOL> from corehq . apps . data_interfaces . dispatcher import DataInterfaceDispatcher , EditDataInterfaceDispatcher <EOL> from corehq . apps . data_interfaces . views import ( CaseGroupListView , <EOL> CaseGroupCaseManagementView , <EOL> ArchiveFormView , <EOL> XFormManagementView , <EOL> XFormManagementStatusView , <EOL> AutomaticUpdateRuleListView , <EOL> AddAutomaticUpdateRuleView , <EOL> EditAutomaticUpdateRuleView ) <EOL> from . interfaces import FormManagementMode <EOL> edit_data_urls = patterns ( <EOL> '<STR_LIT>' , <EOL> url ( r'<STR_LIT>' , ArchiveFormView . as_view ( ) , name = ArchiveFormView . urlname ) , <EOL> url ( r'<STR_LIT>' , XFormManagementView . as_view ( ) , name = XFormManagementView . urlname ) , <EOL> url ( <EOL> r'<STR_LIT>' . format ( <EOL> archive = FormManagementMode . ARCHIVE_MODE , <EOL> restore = FormManagementMode . RESTORE_MODE , <EOL> id_regex = "<STR_LIT>" , <EOL> ) , <EOL> XFormManagementStatusView . as_view ( ) , <EOL> name = XFormManagementStatusView . urlname <EOL> ) , <EOL> url ( r'<STR_LIT>' , <EOL> '<STR_LIT>' , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , CaseGroupListView . as_view ( ) , name = CaseGroupListView . urlname ) , <EOL> url ( r'<STR_LIT>' , <EOL> CaseGroupCaseManagementView . as_view ( ) , name = CaseGroupCaseManagementView . urlname ) , <EOL> url ( r'<STR_LIT>' , AutomaticUpdateRuleListView . as_view ( ) , <EOL> name = AutomaticUpdateRuleListView . urlname ) , <EOL> url ( r'<STR_LIT>' , AddAutomaticUpdateRuleView . as_view ( ) , <EOL> name = AddAutomaticUpdateRuleView . urlname ) , <EOL> url ( r'<STR_LIT>' , EditAutomaticUpdateRuleView . as_view ( ) , <EOL> name = EditAutomaticUpdateRuleView . urlname ) , <EOL> EditDataInterfaceDispatcher . url_pattern ( ) , <EOL> ) <EOL> urlpatterns = patterns ( <EOL> '<STR_LIT>' , <EOL> url ( r'<STR_LIT>' , "<STR_LIT:default>" , name = "<STR_LIT>" ) , <EOL> ( r'<STR_LIT>' , include ( edit_data_urls ) ) , <EOL> ( r'<STR_LIT>' , include ( '<STR_LIT>' ) ) , <EOL> DataInterfaceDispatcher . url_pattern ( ) , <EOL> ) </s>
