from django.conf.urls import patterns, include, url

from web.views import *

urlpatterns = patterns('',
	url(r'^$', Home.as_view(), name='home'),
	url(r'login/$', Login.as_view(), name='login'),
	url(r'logout/$', Logout.as_view(), name='logout'),
	url(r'^register/(?P<user_type>\w+)/$', RegisterUser.as_view(), name='register_user'),
	url(r'^(?P<user_type>\w+)/list/$', UserList.as_view(), name='users'),
	url(r'^(?P<user_type>\w+)/(?P<user_id>\d+)/edit/$', EditUser.as_view(), name='edit_user'),
	url(r'^(?P<user_type>\w+)/(?P<user_id>\d+)/delete/$', DeleteUser.as_view(), name='delete_user'),
	url(r'^designation_list/$', DesignationList.as_view(), name="designation_list"),
	url(r'^add_designation/$', AddDesignation.as_view(), name="add_designation"),	
	url(r'^company_list/$', TransportationCompanyList.as_view(), name="designation_list"),
	url(r'^add_company/$', AddTransportationCompany.as_view(), name="add_designation"),
	url(r'^reset_password/(?P<user_id>\d+)/$', ResetPassword.as_view(), name="reset_password"),
)
7fc7715012d212014daba15331c076b00207424b
<mask token>

<mask token>
urlpatterns = patterns('', url('^$', Home.as_view(), name='home'), url(
    'login/$', Login.as_view(), name='login'), url('logout/$', Logout.
    as_view(), name='logout'), url('^register/(?P<user_type>\\w+)/$',
    RegisterUser.as_view(), name='register_user'), url(
    '^(?P<user_type>\\w+)/list/$', UserList.as_view(), name='users'), url(
    '^(?P<user_type>\\w+)/(?P<user_id>\\d+)/edit/$', EditUser.as_view(),
    name='edit_user'), url(
    '^(?P<user_type>\\w+)/(?P<user_id>\\d+)/delete/$', DeleteUser.as_view(),
    name='delete_user'), url('^designation_list/$', DesignationList.as_view
    (), name='designation_list'), url('^add_designation/$', AddDesignation.
    as_view(), name='add_designation'), url('^company_list/$',
    TransportationCompanyList.as_view(), name='designation_list'), url(
    '^add_company/$', AddTransportationCompany.as_view(), name=
    'add_designation'), url('^reset_password/(?P<user_id>\\d+)/$',
    ResetPassword.as_view(), name='reset_password'))

from django.conf.urls import patterns, include, url
from web.views import *
urlpatterns = patterns('', url('^$', Home.as_view(), name='home'), url(
    'login/$', Login.as_view(), name='login'), url('logout/$', Logout.
    as_view(), name='logout'), url('^register/(?P<user_type>\\w+)/$',
    RegisterUser.as_view(), name='register_user'), url(
    '^(?P<user_type>\\w+)/list/$', UserList.as_view(), name='users'), url(
    '^(?P<user_type>\\w+)/(?P<user_id>\\d+)/edit/$', EditUser.as_view(),
    name='edit_user'), url(
    '^(?P<user_type>\\w+)/(?P<user_id>\\d+)/delete/$', DeleteUser.as_view(),
    name='delete_user'), url('^designation_list/$', DesignationList.as_view
    (), name='designation_list'), url('^add_designation/$', AddDesignation.
    as_view(), name='add_designation'), url('^company_list/$',
    TransportationCompanyList.as_view(), name='designation_list'), url(
    '^add_company/$', AddTransportationCompany.as_view(), name=
    'add_designation'), url('^reset_password/(?P<user_id>\\d+)/$',
    ResetPassword.as_view(), name='reset_password'))

from django.conf.urls import patterns, include, url

from web.views import *

urlpatterns = patterns('',
	url(r'^$', Home.as_view(), name='home'),
	url(r'login/$', Login.as_view(), name='login'),
	url(r'logout/$', Logout.as_view(), name='logout'),
	url(r'^register/(?P<user_type>\w+)/$', RegisterUser.as_view(), name='register_user'),
	url(r'^(?P<user_type>\w+)/list/$', UserList.as_view(), name='users'),
	url(r'^(?P<user_type>\w+)/(?P<user_id>\d+)/edit/$', EditUser.as_view(), name='edit_user'),
	url(r'^(?P<user_type>\w+)/(?P<user_id>\d+)/delete/$', DeleteUser.as_view(), name='delete_user'),
	url(r'^designation_list/$', DesignationList.as_view(), name="designation_list"),
	url(r'^add_designation/$', AddDesignation.as_view(), name="add_designation"),	
	url(r'^company_list/$', TransportationCompanyList.as_view(), name="designation_list"),
	url(r'^add_company/$', AddTransportationCompany.as_view(), name="add_designation"),
	url(r'^reset_password/(?P<user_id>\d+)/$', ResetPassword.as_view(), name="reset_password"),
)