from django.conf.urls import url
from django.views.generic import TemplateView
from .views import *

urlpatterns=[
	url(r'^$',UserHomeRedirectView.as_view(), name='home-redirect'),
	#url(r'^accounts/profile/$',NewProfile.as_view(), name='create-profile'),
    url(r'^create/profile/$',NewProfile.as_view(), name='create-profile'),
    url(r'^dashboard/$',dashboard.as_view(), name='user-dashboard'),
    url(r'^users/$', ShowUsers.as_view(), name='users-listing'),
    url(r'^add_user/$', AddUser.as_view(), name='add-user'),
    url(r'^vehicle-search/$', VehicleInfomationView.as_view(),name='vehicle-search'),
    #url(r'^search/info/$', ajax.ajax_search_by, name='vehicle-search-ajax'),
    
]