from django.conf.urls import url

from .api import (
    EmwfOptionsView,
    CaseListFilterOptions,
    DeviceLogUsers,
    DeviceLogIds,
    MobileWorkersOptionsView,
    ReassignCaseOptions,
)
from .location import LocationGroupFilterOptions

urlpatterns = [
   url(r'^emwf_options/$', EmwfOptionsView.as_view(), name='emwf_options'),
   url(r'^users_options/$', MobileWorkersOptionsView.as_view(), name=MobileWorkersOptionsView.urlname),
   url(r'^new_emwf_options/$', LocationRestrictedEmwfOptions.as_view(), name='new_emwf_options'),
   url(r'^case_list_options/$', CaseListFilterOptions.as_view(), name='case_list_options'),
   url(r'^reassign_case_options/$', ReassignCaseOptions.as_view(), name='reassign_case_options'),
   url(r'^grouplocationfilter_options/$', LocationGroupFilterOptions.as_view(),
       name='grouplocationfilter_options'
       ),
   url(r'^device_log_users/$', DeviceLogUsers.as_view(), name='device_log_users'),
   url(r'^device_log_ids/$', DeviceLogIds.as_view(), name='device_log_ids'),
]

from django.conf.urls import url

from .api import (
    EmwfOptionsView,
    CaseListFilterOptions,
    DeviceLogUsers,
    DeviceLogIds,
    MobileWorkersOptionsView,
    ReassignCaseOptions,
)
from .location import LocationGroupFilterOptions

urlpatterns = [
    url(r'^emwf_options/$', EmwfOptionsView.as_view(), name='emwf_options'),
    url(r'^users_options/$', MobileWorkersOptionsView.as_view(), name=MobileWorkersOptionsView.urlname),
    url(r'^case_list_options/$', CaseListFilterOptions.as_view(), name='case_list_options'),
    url(r'^reassign_case_options/$', ReassignCaseOptions.as_view(), name='reassign_case_options'),
    url(r'^grouplocationfilter_options/$', LocationGroupFilterOptions.as_view(),
        name='grouplocationfilter_options'
    ),
    url(r'^device_log_users/$', DeviceLogUsers.as_view(), name='device_log_users'),
    url(r'^device_log_ids/$', DeviceLogIds.as_view(), name='device_log_ids'),
]

Fix bad merge and formatting
Fix bad merge and formatting

  from django.conf.urls import url
  
  from .api import (
      EmwfOptionsView,
      CaseListFilterOptions,
      DeviceLogUsers,
      DeviceLogIds,
      MobileWorkersOptionsView,
      ReassignCaseOptions,
  )
  from .location import LocationGroupFilterOptions
  
  urlpatterns = [
-    url(r'^emwf_options/$', EmwfOptionsView.as_view(), name='emwf_options'),
+     url(r'^emwf_options/$', EmwfOptionsView.as_view(), name='emwf_options'),
-    url(r'^users_options/$', MobileWorkersOptionsView.as_view(), name=MobileWorkersOptionsView.urlname),
+     url(r'^users_options/$', MobileWorkersOptionsView.as_view(), name=MobileWorkersOptionsView.urlname),
-    url(r'^new_emwf_options/$', LocationRestrictedEmwfOptions.as_view(), name='new_emwf_options'),
-    url(r'^case_list_options/$', CaseListFilterOptions.as_view(), name='case_list_options'),
+     url(r'^case_list_options/$', CaseListFilterOptions.as_view(), name='case_list_options'),
-    url(r'^reassign_case_options/$', ReassignCaseOptions.as_view(), name='reassign_case_options'),
+     url(r'^reassign_case_options/$', ReassignCaseOptions.as_view(), name='reassign_case_options'),
-    url(r'^grouplocationfilter_options/$', LocationGroupFilterOptions.as_view(),
+     url(r'^grouplocationfilter_options/$', LocationGroupFilterOptions.as_view(),
-        name='grouplocationfilter_options'
+         name='grouplocationfilter_options'
-        ),
+     ),
-    url(r'^device_log_users/$', DeviceLogUsers.as_view(), name='device_log_users'),
+     url(r'^device_log_users/$', DeviceLogUsers.as_view(), name='device_log_users'),
-    url(r'^device_log_ids/$', DeviceLogIds.as_view(), name='device_log_ids'),
+     url(r'^device_log_ids/$', DeviceLogIds.as_view(), name='device_log_ids'),
  ]
  
Fix bad merge and formatting
## Code Before:
from django.conf.urls import url

from .api import (
    EmwfOptionsView,
    CaseListFilterOptions,
    DeviceLogUsers,
    DeviceLogIds,
    MobileWorkersOptionsView,
    ReassignCaseOptions,
)
from .location import LocationGroupFilterOptions

urlpatterns = [
   url(r'^emwf_options/$', EmwfOptionsView.as_view(), name='emwf_options'),
   url(r'^users_options/$', MobileWorkersOptionsView.as_view(), name=MobileWorkersOptionsView.urlname),
   url(r'^new_emwf_options/$', LocationRestrictedEmwfOptions.as_view(), name='new_emwf_options'),
   url(r'^case_list_options/$', CaseListFilterOptions.as_view(), name='case_list_options'),
   url(r'^reassign_case_options/$', ReassignCaseOptions.as_view(), name='reassign_case_options'),
   url(r'^grouplocationfilter_options/$', LocationGroupFilterOptions.as_view(),
       name='grouplocationfilter_options'
       ),
   url(r'^device_log_users/$', DeviceLogUsers.as_view(), name='device_log_users'),
   url(r'^device_log_ids/$', DeviceLogIds.as_view(), name='device_log_ids'),
]

## Instruction:
Fix bad merge and formatting
## Code After:
from django.conf.urls import url

from .api import (
    EmwfOptionsView,
    CaseListFilterOptions,
    DeviceLogUsers,
    DeviceLogIds,
    MobileWorkersOptionsView,
    ReassignCaseOptions,
)
from .location import LocationGroupFilterOptions

urlpatterns = [
    url(r'^emwf_options/$', EmwfOptionsView.as_view(), name='emwf_options'),
    url(r'^users_options/$', MobileWorkersOptionsView.as_view(), name=MobileWorkersOptionsView.urlname),
    url(r'^case_list_options/$', CaseListFilterOptions.as_view(), name='case_list_options'),
    url(r'^reassign_case_options/$', ReassignCaseOptions.as_view(), name='reassign_case_options'),
    url(r'^grouplocationfilter_options/$', LocationGroupFilterOptions.as_view(),
        name='grouplocationfilter_options'
    ),
    url(r'^device_log_users/$', DeviceLogUsers.as_view(), name='device_log_users'),
    url(r'^device_log_ids/$', DeviceLogIds.as_view(), name='device_log_ids'),
]
