1 from django.conf.urls.defaults import *
2 from django.views.generic.simple import direct_to_template
3 from django.utils.translation import ugettext as _
5 from views import state, running, download
7 urlpatterns = patterns('',
8 url(r'^%s%s%s$' % (_('admin/'), _('exporter/'), _('state/')), state, name='exporter_state'),
9 url(r'^%s(?P<mode>\w+)/%s$' % (_('admin/'), _('running/')), running, name='exporter_running'),
10 url(r'^%s%s%s$' % (_('admin/'), _('exporter/'), _('download/')), download, name='exporter_download'),