Ejemplo n.º 1
0
                       url(r'^run/location/feedback/$', 'LocationView.getLocationGraphs',
                           name='ts_emod_location_graphs'),
                       url(r'^run/location/feedback/(?P<location_id>[\w]+)/$', 'LocationView.getLocationGraphs',
                           name='ts_emod_location_graphs'),


                       url(r'^run/species/delete/(?P<species_id>\d+)/$', 'SpeciesView.deleteSpecies',
                           name='ts_emod_species_delete'),
                       url(r'^run/species/save/$', 'SpeciesView.saveSpecies', name='ts_emod_species_save'),
                       url(r'^run/species/form/$', 'SpeciesView.getFormSpecies', name='ts_emod_species_create_form'),
                       url(r'^run/species/form/(?P<species_name>[\w.]+)/$', 'SpeciesView.getFormSpecies',
                           name='ts_emod_species_create_form'),

                       url(r'^template/(?P<template_id>\d+)/$', TemplateDetailView.as_view(),
                           name='ts_emod_template_details'),

                       url(r'upload/type/(?P<file_type>[\w]+)/$', upload_view, name='ts_emod_upload'),
                       url(r'upload/$', upload_view, name='ts_emod_upload'),

                       url(r'^utilities/$', TemplateView.as_view(template_name="ts_emod/utilities.html"), name="ts_emod.utilities"),

                       # Results Viewer
                       url(r'^results_viewer/$', ResultView.as_view(), name='results_viewer.index'),
                       url(r'^results_viewer/scenario/(?P<scenario_id>\d+)/$', ResultByScenarioView.as_view(), name='results_viewer.scenario'),
                       url(r'^results_viewer/run/(?P<run_id>\d+)/$', ResultByRunView.as_view(), name='results_viewer.run'),

                        #
                       url(r'^csv_download/(?P<dim_run_id>\d+)/$', download_csv_file, name="ts_emod.csv_download")
                       )