Exemple #1
0
     CategoryDependencyView.as_view(),
     name='category_dependency_view'),
 url(r'ajax/dependencies/model/$',
     ModelDependencyView.as_view(),
     name='model_dependency_view'),
 url(r'(?P<mode>(back_office|dc))/history/device/(?P<asset_id>[0-9]+)/$',
     login_required(HistoryAsset.as_view()),
     name='device_history'),
 url(r'(?P<mode>(back_office|dc))/history/part/(?P<asset_id>[0-9]+)/$',
     login_required(HistoryAsset.as_view()),
     name='part_history'),
 url(r'(?P<mode>(back_office|dc))/bulkedit/$',
     login_required(BulkEdit.as_view()),
     name='bulkedit'),
 url(r'(?P<mode>(back_office|dc))/delete/asset/$',
     login_required(DeleteAsset.as_view()),
     name='dc'),
 url(r'(?P<mode>(back_office|dc))/split/asset/(?P<asset_id>[0-9]+)/$',
     login_required(SplitDeviceView.as_view()),
     name='device_split'),
 url(
     r'(?P<mode>(back_office|dc))/invoice_report/$',
     login_required(AssetInvoiceReport.as_view()),
     name='assets_invoice_report',
 ),
 url(
     r'sam/licences/invoice_report/$',
     login_required(LicenceInvoiceReport.as_view()),
     name='sam_invoice_report',
 ),
 url(
Exemple #2
0
 url(r'dc/edit/device/(?P<asset_id>[0-9]+)/$',
     login_required(DataCenterEditDevice.as_view()),
     name='dc_device_edit'),
 url(r'dc/edit/part/(?P<asset_id>[0-9]+)/$',
     login_required(DataCenterEditPart.as_view()),
     name='dc'),
 url(r'dc/history/device/(?P<asset_id>[0-9]+)/$',
     login_required(HistoryAsset.as_view()),
     name='dc_device_history'),
 url(r'dc/history/part/(?P<asset_id>[0-9]+)/$',
     login_required(HistoryAsset.as_view()),
     name='dc_part_history'),
 url(r'dc/bulkedit/$',
     login_required(DataCenterBulkEdit.as_view()),
     name='dc'),
 url(r'dc/delete/asset/$', login_required(DeleteAsset.as_view()),
     name='dc'),
 url(r'dc/split/asset/(?P<asset_id>[0-9]+)/$',
     login_required(DataCenterSplitDevice.as_view()),
     name='dc_device_split'),
 url(r'back_office/search',
     login_required(BackOfficeSearch.as_view()),
     name='back_office'),
 url(r'back_office/add/device/',
     login_required(BackOfficeAddDevice.as_view()),
     name='back_office'),
 url(r'back_office/add/part/',
     login_required(BackOfficeAddPart.as_view()),
     name='back_office'),
 url(r'back_office/edit/device/(?P<asset_id>[0-9]+)/$',
     login_required(BackOfficeEditDevice.as_view()),