from django.conf.urls import url, include
from django.contrib import admin
from .views import *

app_name = 'devices'

urlpatterns = [
    
    # Regular URLs
    url(r'^device-inventory/$', device_inventory_view, name='device_inventory'),
    url(r'^maintenance/$', maintenance_view, name='maintenance_view'),
    url(r'^sparepart-inventory/$', sparepart_inventory_list, name='sparepart_inventory_list'),
    url(r'^sparepart-inventory/(?P<pk>[0-9]+)/$', sparepart_inventory_detail, name='sparepart_inventory_detail'),
    url(r'^device-archive/$', device_archive_view, name='device_archive_view'),
    url(r'^total-filter/$', total_filter_view, name='total_filter_view'),
    
    # Ajax URLs
    url(r'ajax/create-maintenance-device/$', create_maintenance_device),
    url(r'ajax/remove-maintenance-device/$', remove_maintenance_device),
    url(r'ajax/add-sparepart-item/$', add_sparepart_item),
    url(r'ajax/remove-sparepart-item/$', remove_sparepart_item),
        
    url(r'ajax/create-sparepart/$', create_sparepart),
    url(r'ajax/edit-sparepart/$', edit_sparepart),
    url(r'ajax/delete-sparepart/$', delete_sparepart),
    
    url(r'ajax/filter-device-inventory/$', filter_device_inventory),
    url(r'ajax/filter-maintenance/$', filter_maintenance),
    url(r'ajax/filter-sparepart-inventory/$', filter_sparepart_inventory),
    url(r'ajax/filter-device-archive/$', filter_device_archive),
    
    url(r'ajax/get-device-archive-data/$', get_device_archive_data),
    
    url(r'ajax/get-autocomplete-data/$', get_autocomplete_data),
    
    url(r'ajax/total-filter/$', total_filter),
    url(r'ajax/get-total-filter-autocomplete/$', get_total_filter_autocomplete),
    
    url(r'^(?P<serial_number>.*?)/$', device_detail, name='device-detail'),
]

e000213e70078016b99801332b5f577f6806f330
<mask token>

<mask token>
app_name = 'devices'
urlpatterns = [url('^device-inventory/$', device_inventory_view, name=
    'device_inventory'), url('^maintenance/$', maintenance_view, name=
    'maintenance_view'), url('^sparepart-inventory/$',
    sparepart_inventory_list, name='sparepart_inventory_list'), url(
    '^sparepart-inventory/(?P<pk>[0-9]+)/$', sparepart_inventory_detail,
    name='sparepart_inventory_detail'), url('^device-archive/$',
    device_archive_view, name='device_archive_view'), url('^total-filter/$',
    total_filter_view, name='total_filter_view'), url(
    'ajax/create-maintenance-device/$', create_maintenance_device), url(
    'ajax/remove-maintenance-device/$', remove_maintenance_device), url(
    'ajax/add-sparepart-item/$', add_sparepart_item), url(
    'ajax/remove-sparepart-item/$', remove_sparepart_item), url(
    'ajax/create-sparepart/$', create_sparepart), url(
    'ajax/edit-sparepart/$', edit_sparepart), url('ajax/delete-sparepart/$',
    delete_sparepart), url('ajax/filter-device-inventory/$',
    filter_device_inventory), url('ajax/filter-maintenance/$',
    filter_maintenance), url('ajax/filter-sparepart-inventory/$',
    filter_sparepart_inventory), url('ajax/filter-device-archive/$',
    filter_device_archive), url('ajax/get-device-archive-data/$',
    get_device_archive_data), url('ajax/get-autocomplete-data/$',
    get_autocomplete_data), url('ajax/total-filter/$', total_filter), url(
    'ajax/get-total-filter-autocomplete/$', get_total_filter_autocomplete),
    url('^(?P<serial_number>.*?)/$', device_detail, name='device-detail')]

from django.conf.urls import url, include
from django.contrib import admin
from .views import *
app_name = 'devices'
urlpatterns = [url('^device-inventory/$', device_inventory_view, name=
    'device_inventory'), url('^maintenance/$', maintenance_view, name=
    'maintenance_view'), url('^sparepart-inventory/$',
    sparepart_inventory_list, name='sparepart_inventory_list'), url(
    '^sparepart-inventory/(?P<pk>[0-9]+)/$', sparepart_inventory_detail,
    name='sparepart_inventory_detail'), url('^device-archive/$',
    device_archive_view, name='device_archive_view'), url('^total-filter/$',
    total_filter_view, name='total_filter_view'), url(
    'ajax/create-maintenance-device/$', create_maintenance_device), url(
    'ajax/remove-maintenance-device/$', remove_maintenance_device), url(
    'ajax/add-sparepart-item/$', add_sparepart_item), url(
    'ajax/remove-sparepart-item/$', remove_sparepart_item), url(
    'ajax/create-sparepart/$', create_sparepart), url(
    'ajax/edit-sparepart/$', edit_sparepart), url('ajax/delete-sparepart/$',
    delete_sparepart), url('ajax/filter-device-inventory/$',
    filter_device_inventory), url('ajax/filter-maintenance/$',
    filter_maintenance), url('ajax/filter-sparepart-inventory/$',
    filter_sparepart_inventory), url('ajax/filter-device-archive/$',
    filter_device_archive), url('ajax/get-device-archive-data/$',
    get_device_archive_data), url('ajax/get-autocomplete-data/$',
    get_autocomplete_data), url('ajax/total-filter/$', total_filter), url(
    'ajax/get-total-filter-autocomplete/$', get_total_filter_autocomplete),
    url('^(?P<serial_number>.*?)/$', device_detail, name='device-detail')]

from django.conf.urls import url, include
from django.contrib import admin
from .views import *

app_name = 'devices'

urlpatterns = [
    
    # Regular URLs
    url(r'^device-inventory/$', device_inventory_view, name='device_inventory'),
    url(r'^maintenance/$', maintenance_view, name='maintenance_view'),
    url(r'^sparepart-inventory/$', sparepart_inventory_list, name='sparepart_inventory_list'),
    url(r'^sparepart-inventory/(?P<pk>[0-9]+)/$', sparepart_inventory_detail, name='sparepart_inventory_detail'),
    url(r'^device-archive/$', device_archive_view, name='device_archive_view'),
    url(r'^total-filter/$', total_filter_view, name='total_filter_view'),
    
    # Ajax URLs
    url(r'ajax/create-maintenance-device/$', create_maintenance_device),
    url(r'ajax/remove-maintenance-device/$', remove_maintenance_device),
    url(r'ajax/add-sparepart-item/$', add_sparepart_item),
    url(r'ajax/remove-sparepart-item/$', remove_sparepart_item),
        
    url(r'ajax/create-sparepart/$', create_sparepart),
    url(r'ajax/edit-sparepart/$', edit_sparepart),
    url(r'ajax/delete-sparepart/$', delete_sparepart),
    
    url(r'ajax/filter-device-inventory/$', filter_device_inventory),
    url(r'ajax/filter-maintenance/$', filter_maintenance),
    url(r'ajax/filter-sparepart-inventory/$', filter_sparepart_inventory),
    url(r'ajax/filter-device-archive/$', filter_device_archive),
    
    url(r'ajax/get-device-archive-data/$', get_device_archive_data),
    
    url(r'ajax/get-autocomplete-data/$', get_autocomplete_data),
    
    url(r'ajax/total-filter/$', total_filter),
    url(r'ajax/get-total-filter-autocomplete/$', get_total_filter_autocomplete),
    
    url(r'^(?P<serial_number>.*?)/$', device_detail, name='device-detail'),
]
