当前位置: 首页>>代码示例>>Python>>正文


Python url_patterns.url函数代码示例

本文整理汇总了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'),
   ]
开发者ID:rhyolight,项目名称:nupic.son,代码行数:7,代码来源:org_app.py

示例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),
   ]
开发者ID:rhyolight,项目名称:nupic.son,代码行数:7,代码来源:org_profile.py

示例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'),
   ]
开发者ID:adviti,项目名称:melange,代码行数:7,代码来源:document.py

示例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'),
   ]
开发者ID:adviti,项目名称:melange,代码行数:7,代码来源:task_create.py

示例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),
   ]
开发者ID:rhyolight,项目名称:nupic.son,代码行数:8,代码来源:program.py

示例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),
   ]
开发者ID:adviti,项目名称:melange,代码行数:7,代码来源:task.py

示例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),
   ]
开发者ID:rhyolight,项目名称:nupic.son,代码行数:7,代码来源:conversations.py

示例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),
   ]
开发者ID:rhyolight,项目名称:nupic.son,代码行数:8,代码来源:conversation_create.py

示例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,
         )
     ]
开发者ID:rhyolight,项目名称:nupic.son,代码行数:11,代码来源:conversation.py

示例10: djangoURLPatterns

 def djangoURLPatterns(self):
   return [
       url(r'org/tasks/all/%s$' % url_patterns.ORG, self,
           name=url_names.GCI_ORG_TASKS_ALL),
   ]
开发者ID:rhyolight,项目名称:nupic.son,代码行数:5,代码来源:task_list.py

示例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),
   ]
开发者ID:rhyolight,项目名称:nupic.son,代码行数:5,代码来源:students_info.py

示例12: djangoURLPatterns

 def djangoURLPatterns(self):
   return [
       url(r'delete_account/%s$' % url_patterns.PROGRAM,
           self, name='gci_delete_account')
   ]
开发者ID:adviti,项目名称:melange,代码行数:5,代码来源:delete_account.py

示例13: djangoURLPatterns

 def djangoURLPatterns(self):
   return [
       url(r'admin/%s$' % url_patterns.PROGRAM,
        self, name='gci_admin_dashboard'),
   ]
开发者ID:adviti,项目名称:melange,代码行数:5,代码来源:admin.py

示例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),
   ]
开发者ID:rhyolight,项目名称:nupic.son,代码行数:6,代码来源:profile_show.py

示例15: djangoURLPatterns

 def djangoURLPatterns(self):
   return [
       url(r'org_scores/%s$' % url_patterns.ORG, self,
           name=url_names.GCI_ORG_SCORES),
   ]
开发者ID:rhyolight,项目名称:nupic.son,代码行数:5,代码来源:org_score.py


注:本文中的soc.modules.gci.views.helper.url_patterns.url函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。