# Path: example/example/main/rpc.py
# class MainApiClass(object):
#     def hello(self, username, user):
#     def func1(self, val, d='default', *args, **kwargs):
#     def submit(self, rdata, user):
#     def submit_file(self, rdata, files, user):


from django.conf.urls import *
from . import views
from .rpc import router

urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^test_batch/$', views.test_batch, name='test_batch'),
    url(r'^hello/$', views.hello, name='hello'),
    url(r'^js_api/$', views.js_api, name='js_api'),
    url(r'^form/$', views.form, name='form'),

# Path: example/example/main/rpc.py
# class MainApiClass(object):
#     def hello(self, username, user):
#     def func1(self, val, d='default', *args, **kwargs):
#     def submit(self, rdata, user):
#     def submit_file(self, rdata, files, user):


# Path: example/example/main/urls.py
from django.conf.urls import *
from . import views
from .rpc import router


urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^test_batch/$', views.test_batch, name='test_batch'),
    url(r'^hello/$', views.hello, name='hello'),
    url(r'^js_api/$', views.js_api, name='js_api'),
    url(r'^form/$', views.form, name='form'),

    url(r'^upload_form/$', views.upload_form, name='upload_form'),