Beispiel #1
0
from views import DATA
from views import POST

urlpatterns = patterns(
    "",
    # url(
    #     r'^$',
    #     direct_to_template,
    #     {'template': 'prj.html',
    #      'extra_context': {}
    #     },
    #     name='people'
    # ),
    url(r"^all/$", VIEW.main, name="view.main"),
    url(r"^all.js$", direct_to_template, {"template": "prj_all.js", "extra_context": {}}, name="all.js"),
    url(r"^lhs.js$", direct_to_template, {"template": "prj_lhs.js", "extra_context": {}}, name="lhs.js"),
    url(r"^rhs.js$", direct_to_template, {"template": "prj_rhs.js", "extra_context": {}}, name="rhs.js"),
    url(r"^json/info/$", DATA.info, name="json.info"),
)

if __name__ == "__main__":

    pass

else:

    from svc.urls import data_urlpatterns
    from models import *

    urlpatterns += data_urlpatterns(PROJECT, f_set={"extjs": DATA.projects})
Beispiel #2
0
urlpatterns = patterns('',

  # url(
  #     r'^$',
  #     direct_to_template,
  #     {'template': 'com.html',
  #      'extra_context': {}
  #     },
  #     name='people'
  # ),

    url(
        r'^json/info/$',
        DATA.info,
        name='json.info'
    ),

)

if __name__ == "__main__":

    pass

else:

    from svc.urls import data_urlpatterns
    from models   import *

    urlpatterns += data_urlpatterns (COMPANY)
    urlpatterns += data_urlpatterns (EMPLOYEE)
Beispiel #3
0
urlpatterns = patterns('',

  # url(
  #     r'^$',
  #     direct_to_template,
  #     {'template': 'edu.html',
  #      'extra_context': {}
  #     },
  #     name='people'
  # ),

    url(
        r'^json/info/$',
        DATA.info,
        name='json.info'
    ),

)

if __name__ == "__main__":

    pass

else:

    from svc.urls import data_urlpatterns
    from models   import *

    urlpatterns += data_urlpatterns (EDUCATION)
Beispiel #4
0
  # url(
  #     r'^$',
  #     direct_to_template,
  #     {'template': 'org.html',
  #      'extra_context': {}
  #     },
  #     name='people'
  # ),

    url(
        r'^json/info/$',
        DATA.info,
        name='json.info'
    ),

)

if __name__ == "__main__":

    pass

else:

    from svc.urls import data_urlpatterns
    from models   import *

    urlpatterns += data_urlpatterns (ORGANIZATION)
    urlpatterns += data_urlpatterns (SERVICE)
    urlpatterns += data_urlpatterns (B2C_SERVICE)
    urlpatterns += data_urlpatterns (B2B_SERVICE)
Beispiel #5
0
  #     direct_to_template,
  #     {'template': 'people.html',
  #      'extra_context': {}
  #     },
  #     name='people'
  # ),

    url(
        r'^json/info/$',
        DATA.info,
        name='json.info'
    ),

)

if __name__ == "__main__":

    pass

else:

    from svc.urls import data_urlpatterns
    from models   import *

    urlpatterns += data_urlpatterns (PLACE)
    urlpatterns += data_urlpatterns (CONTACT)
    urlpatterns += data_urlpatterns (PERSON)
    urlpatterns += data_urlpatterns (GROUP)
    urlpatterns += data_urlpatterns (ROLE)
    urlpatterns += data_urlpatterns (ACTIVITY)
Beispiel #6
0
        r'^json/auctions-by-project/$',
        DATA.auctions_by_project,
        name='json.auctions_by_project'
    ),

    url(
        r'^post/BID/(?P<id>\d+|\$0)/cache-page/$',
        POST.cache_page,
        name='post.cache_page'
    ),

    url(
        r'^post/BID/$',
        POST.bid,
        name='post.BID'
    ),

)

if __name__ == "__main__":

    pass

else:

    from svc.urls import data_urlpatterns
    from models   import *

    urlpatterns += data_urlpatterns (AUCTION)
    urlpatterns += data_urlpatterns (BID, f_set= {'extjs': DATA.bids})