# Path: holodeck/api.py
# def store(request):
# 
# Path: holodeck/views.py
# def holodeck(request):
# def login(request):
# def logout(request):
# def manage_dashboard(request, dashboard_id):
# def new_dashboard(request):
# def _export_dashboard(request, dashboard_id):
# def _view_dashboard(request, dashboard_id, template):
# def export_dashboard(request, dashboard_id):
# def export_shared_dashboard(request, dashboard_id, share_key):
# def remove_dashboard(request, dashboard_id):
# def share_dashboard(request, dashboard_id, share_key):
# def sort_dashboard(request, dashboard_id):
# def view_dashboard(request, dashboard_id):
# def new_metric(request, dashboard_id):
# def manage_metric(request, metric_id):
# def type_change_metric(request, metric_id, type_id):
# def share_metric(request, metric_id, share_key):
# def remove_metric(request, metric_id):
# def purge_metric_samples(request, metric_id):


from django.conf.urls import patterns, include, url
from django.contrib import admin
from holodeck import api, views

admin.autodiscover()

urlpatterns = patterns('',
    # Accounts.
    url(r'^login/$', views.login, name='holodeck-login'),
    url(r'^logout/$', views.logout, name='holodeck-logout'),

    # Dashboards.
    url(r'^dashboards/new/$', views.new_dashboard, name='holodeck-new-dashboard'),

# Path: holodeck/api.py
# def store(request):
# 
# Path: holodeck/views.py
# def holodeck(request):
# def login(request):
# def logout(request):
# def manage_dashboard(request, dashboard_id):
# def new_dashboard(request):
# def _export_dashboard(request, dashboard_id):
# def _view_dashboard(request, dashboard_id, template):
# def export_dashboard(request, dashboard_id):
# def export_shared_dashboard(request, dashboard_id, share_key):
# def remove_dashboard(request, dashboard_id):
# def share_dashboard(request, dashboard_id, share_key):
# def sort_dashboard(request, dashboard_id):
# def view_dashboard(request, dashboard_id):
# def new_metric(request, dashboard_id):
# def manage_metric(request, metric_id):
# def type_change_metric(request, metric_id, type_id):
# def share_metric(request, metric_id, share_key):
# def remove_metric(request, metric_id):
# def purge_metric_samples(request, metric_id):


# Path: holodeck/urls.py
from django.conf.urls import patterns, include, url
from django.contrib import admin
from holodeck import api, views


admin.autodiscover()

urlpatterns = patterns('',
    # Accounts.
    url(r'^login/$', views.login, name='holodeck-login'),
    url(r'^logout/$', views.logout, name='holodeck-logout'),

    # Dashboards.
    url(r'^dashboards/new/$', views.new_dashboard, name='holodeck-new-dashboard'),

    url(r'^dashboards/(?P<dashboard_id>\d+)$', views.view_dashboard, name='holodeck-view-dashboard'),