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

from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'logmanger.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

	#url(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root':settings.STATIC_ROOT}),

    url(r'^admin/', include(admin.site.urls)),
    url(r'^check/','logmangerapp.views.view',name='view'),
    url(r'^check2/','logmangerapp.views.view2',name='view2'),
    url(r'^checkjavalog/','logmangerapp.views.checkjavalog',name='checkjavalog'),
    url(r'^searchjavalog/','logmangerapp.views.searchjavalog',name='searchjavalog'),
    url(r'downjavalog/','logmangerapp.views.downjavalog',name='downjavalog'),
    url(r'^test/','logmangerapp.views.test',name='test'),
    url(r'^ExecCommand/','logmangerapp.views.ExecCommand',name='ExecCommand'),
    url(r'^login/','logmangerapp.views.login',name='login'),
    url(r'^get_tree_data','updateapp.views.JSONGetView',name='get_tree_data'),
    url(r'^set_tree','updateapp.views.JSONSetView',name='set_tree'),
    url(r'^viewztree','updateapp.views.ViewZtree',name='viewztree'),
    url(r'^updatejava','updateapp.views.updatejava',name='updatejava')
) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

