本文整理汇总了Python中soc.modules.gci.views.helper.url_patterns.url函数的典型用法代码示例。如果您正苦于以下问题:Python url函数的具体用法?Python url怎么用?Python url使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了url函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: djangoURLPatterns
def djangoURLPatterns(self):
return [
url(r'org/application/%s$' % url_patterns.PROGRAM,
self, name='gci_take_org_app'),
url(r'org/application/%s$' % url_patterns.ID,
self, name='gci_retake_org_app'),
]
示例2: djangoURLPatterns
def djangoURLPatterns(self):
return [
url(r'profile/organization/%s$' % url_patterns.PROGRAM,
self, name=url_names.CREATE_GCI_ORG_PROFILE),
url(r'profile/organization/%s$' % url_patterns.ORG,
self, name=url_names.EDIT_GCI_ORG_PROFILE),
]
示例3: djangoURLPatterns
def djangoURLPatterns(self):
return [
url(r'document/edit/%s$' % gci_url_patterns.DOCUMENT, self,
name='edit_gci_document'),
url(r'document/edit/%s$' % gci_url_patterns.ORG_DOCUMENT, self,
name='edit_gci_document'),
]
示例4: djangoURLPatterns
def djangoURLPatterns(self):
return [
url(r'task/create/%s$' % url_patterns.ORG,
self, name='gci_create_task'),
url(r'task/edit/%s$' % url_patterns.ID,
self, name='gci_edit_task'),
]
示例5: djangoURLPatterns
def djangoURLPatterns(self):
return [
url_patterns.url(
r'timeline/%s$' % soc_url_patterns.PROGRAM, self,
name='edit_gci_timeline'),
url_patterns.url(
r'timeline/edit/%s$' % soc_url_patterns.PROGRAM, self),
]
示例6: djangoURLPatterns
def djangoURLPatterns(self):
"""URL pattern for this view.
"""
return [
url(r'task/view/%s$' % url_patterns.TASK, self,
name=url_names.GCI_VIEW_TASK),
]
示例7: djangoURLPatterns
def djangoURLPatterns(self):
"""See soc.views.base.RequestHandler.djangoURLPatterns for full
specification."""
return [
url(r'conversations/%s$' % url_patterns.PROGRAM, self,
name=url_names.GCI_CONVERSATIONS),
]
示例8: djangoURLPatterns
def djangoURLPatterns(self):
"""See soc.modules.gci.views.base.GCIRequestHandler.djangoURLPatterns for
full specification.
"""
return [
gciurl_patterns.url(r'conversation/create/%s$' % url_patterns.PROGRAM,
self, name=gciurl_names.GCI_CONVERSATION_CREATE),
]
示例9: djangoURLPatterns
def djangoURLPatterns(self):
"""See soc.modules.gci.views.base.GCIRequestHandler.djangoURLPatterns for
full specification.
"""
return [
url(
r"conversation/notifications-enabled/%s$" % url_patterns.ID,
self,
name=url_names.GCI_CONVERSATION_NOTIFICATION_TOGGLE,
)
]
示例10: djangoURLPatterns
def djangoURLPatterns(self):
return [
url(r'org/tasks/all/%s$' % url_patterns.ORG, self,
name=url_names.GCI_ORG_TASKS_ALL),
]
示例11: djangoURLPatterns
def djangoURLPatterns(self):
return [
gci_url_patterns.url(r'admin/students_info/%s$' % url_patterns.PROGRAM,
self, name=url_names.GCI_STUDENTS_INFO),
]
示例12: djangoURLPatterns
def djangoURLPatterns(self):
return [
url(r'delete_account/%s$' % url_patterns.PROGRAM,
self, name='gci_delete_account')
]
示例13: djangoURLPatterns
def djangoURLPatterns(self):
return [
url(r'admin/%s$' % url_patterns.PROGRAM,
self, name='gci_admin_dashboard'),
]
示例14: djangoURLPatterns
def djangoURLPatterns(self):
"""See base.GCIRequestHandler.djangoURLPatterns for specification."""
return [
url(r'profile/show/%s$' % url_patterns.PROGRAM,
self, name=url_names.GCI_PROFILE_SHOW),
]
示例15: djangoURLPatterns
def djangoURLPatterns(self):
return [
url(r'org_scores/%s$' % url_patterns.ORG, self,
name=url_names.GCI_ORG_SCORES),
]