from django.conf.urls.defaults import *
from django.conf import settings

from licorn.foundations import hlstr

urlpatterns = patterns('energy.views',
    (r'^/?$', 'policies'),
    (r'^policies/?$', 'policies'),

    (r'^add_rule/(?P<who>.*)/(?P<hour>.*)/(?P<minute>.*)/(?P<day>.*)/?$', 'add_rule',  {'new': False}),
    (r'^del_rule/(?P<tid>.*)/?$', 'del_rule'),

    (r'^get_recap/?$', 'get_recap'),
    (r'^get_calendar_data/?$', 'get_calendar_data'),
    (r'^generate_machine_html/(?P<mid>.*)/?$', 'generate_machine_html'),
    (r'^get_machine_list/?$', 'get_machine_list'),

	#(r'^get_machines_html/(?P<machines>.*)/?$', 'get_machines_html'),    

)

21a3465ff8f04bcb7e522342a559383e45531cff
<mask token>

<mask token>
urlpatterns = patterns('energy.views', ('^/?$', 'policies'), (
    '^policies/?$', 'policies'), (
    '^add_rule/(?P<who>.*)/(?P<hour>.*)/(?P<minute>.*)/(?P<day>.*)/?$',
    'add_rule', {'new': False}), ('^del_rule/(?P<tid>.*)/?$', 'del_rule'),
    ('^get_recap/?$', 'get_recap'), ('^get_calendar_data/?$',
    'get_calendar_data'), ('^generate_machine_html/(?P<mid>.*)/?$',
    'generate_machine_html'), ('^get_machine_list/?$', 'get_machine_list'))

from django.conf.urls.defaults import *
from django.conf import settings
from licorn.foundations import hlstr
urlpatterns = patterns('energy.views', ('^/?$', 'policies'), (
    '^policies/?$', 'policies'), (
    '^add_rule/(?P<who>.*)/(?P<hour>.*)/(?P<minute>.*)/(?P<day>.*)/?$',
    'add_rule', {'new': False}), ('^del_rule/(?P<tid>.*)/?$', 'del_rule'),
    ('^get_recap/?$', 'get_recap'), ('^get_calendar_data/?$',
    'get_calendar_data'), ('^generate_machine_html/(?P<mid>.*)/?$',
    'generate_machine_html'), ('^get_machine_list/?$', 'get_machine_list'))

from django.conf.urls.defaults import *
from django.conf import settings

from licorn.foundations import hlstr

urlpatterns = patterns('energy.views',
    (r'^/?$', 'policies'),
    (r'^policies/?$', 'policies'),

    (r'^add_rule/(?P<who>.*)/(?P<hour>.*)/(?P<minute>.*)/(?P<day>.*)/?$', 'add_rule',  {'new': False}),
    (r'^del_rule/(?P<tid>.*)/?$', 'del_rule'),

    (r'^get_recap/?$', 'get_recap'),
    (r'^get_calendar_data/?$', 'get_calendar_data'),
    (r'^generate_machine_html/(?P<mid>.*)/?$', 'generate_machine_html'),
    (r'^get_machine_list/?$', 'get_machine_list'),

	#(r'^get_machines_html/(?P<machines>.*)/?$', 'get_machines_html'),    

)
