3

\                 @   s>   d dl mZ d dlmZ d dlmZ G dd deZe ZdS )    )url)DashboardApplication)	get_classc               @   sd   e Zd ZdZdgZeddZeddZeddZeddZ	eddZ
edd	Zedd
Zdd ZdS )ShippingDashboardApplicationNis_staffzdashboard.shipping.viewsZWeightBasedListViewZWeightBasedCreateViewZWeightBasedUpdateViewZWeightBasedDeleteViewZWeightBasedDetailViewZWeightBandUpdateViewZWeightBandDeleteViewc             C   s   t d| jj ddt d| jj ddt d| jj ddt d| jj d	dt d
| jj ddt d| jj ddt d| jj ddg}| j	|S )Nz^weight-based/$zshipping-method-list)namez^weight-based/create/$zshipping-method-createz^weight-based/(?P<pk>\d+)/$zshipping-method-detailz ^weight-based/(?P<pk>\d+)/edit/$zshipping-method-editz"^weight-based/(?P<pk>\d+)/delete/$zshipping-method-deletez4^weight-based/(?P<method_pk>\d+)/bands/(?P<pk>\d+)/$zshipping-method-band-editz;^weight-based/(?P<method_pk>\d+)/bands/(?P<pk>\d+)/delete/$zshipping-method-band-delete)
r   weight_method_list_viewas_viewweight_method_create_viewweight_method_detail_viewweight_method_edit_viewweight_method_delete_viewweight_band_edit_viewweight_band_delete_viewpost_process_urls)selfurlpatterns r   </var/www/html/oscar2019/oscar/apps/dashboard/shipping/app.pyget_urls   s*    
z%ShippingDashboardApplication.get_urls)__name__
__module____qualname__r   default_permissionsr   r   r
   r   r   r   r   r   r   r   r   r   r   r      s"   r   N)django.conf.urlsr   oscar.core.applicationr   oscar.core.loadingr   r   applicationr   r   r   r   <module>   s   .