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

urlpatterns = patterns('',
#    (r'^get_list$', views.get_list),
#    (r'^get_details$', views.get_details),
#    (r'^get_tab$', views.get_tab),
    #(r'^static/(?P<module_slug>.*)/$', views.render_object),
    (r'^(?P<module_slug>.*?)/(?P<tab_slug>.*?)/add', views.add_object),
    (r'^(?P<module_slug>.*?)/(?P<tab_slug>.*?)/(?P<object_id>[0-9]+)/edit', views.edit_object),
    (r'^(?P<module_slug>.*)/$', views.render_object),
)
