Пример #1
0
     ImportWizardView.as_view(),
     name='projects_import_manual'),
 url(r'^import/manual/demo/$',
     ImportDemoView.as_view(),
     name='projects_import_demo'),
 url(r'^(?P<project_slug>[-\w]+)/$',
     private.project_manage,
     name='projects_manage'),
 url(r'^(?P<project_slug>[-\w]+)/comments_moderation/$',
     private.project_comments_moderation,
     name='projects_comments_moderation'),
 url(r'^(?P<project_slug>[-\w]+)/edit/$',
     ProjectUpdate.as_view(),
     name='projects_edit'),
 url(r'^(?P<project_slug>[-\w]+)/advanced/$',
     ProjectAdvancedUpdate.as_view(),
     name='projects_advanced'),
 url(r'^(?P<project_slug>[-\w]+)/version/(?P<version_slug>[^/]+)/delete_html/$',
     private.project_version_delete_html,
     name='project_version_delete_html'),
 url(r'^(?P<project_slug>[-\w]+)/version/(?P<version_slug>[^/]+)/$',
     private.project_version_detail,
     name='project_version_detail'),
 url(r'^(?P<project_slug>[-\w]+)/versions/$',
     private.project_versions,
     name='projects_versions'),
 url(r'^(?P<project_slug>[-\w]+)/delete/$',
     private.project_delete,
     name='projects_delete'),
 url(
     r'^(?P<project_slug>[-\w]+)/subprojects/delete/(?P<child_slug>[-\w]+)/$',  # noqa
Пример #2
0
     name='projects_import_demo',
 ),
 url(
     r'^(?P<project_slug>[-\w]+)/$',
     login_required(
         RedirectView.as_view(pattern_name='projects_detail', permanent=True),
     ),
     name='projects_manage',
 ),
 url(
     r'^(?P<project_slug>[-\w]+)/edit/$', ProjectUpdate.as_view(),
     name='projects_edit',
 ),
 url(
     r'^(?P<project_slug>[-\w]+)/advanced/$',
     ProjectAdvancedUpdate.as_view(), name='projects_advanced',
 ),
 url(
     r'^(?P<project_slug>[-\w]+)/version/(?P<version_slug>[^/]+)/delete_html/$',
     ProjectVersionDeleteHTML.as_view(),
     name='project_version_delete_html',
 ),
 url(
     r'^(?P<project_slug>[-\w]+)/version/(?P<version_slug>[^/]+)/$',
     ProjectVersionDetail.as_view(),
     name='project_version_detail',
 ),
 url(
     r'^(?P<project_slug>[-\w]+)/delete/$',
     ProjectDelete.as_view(),
     name='projects_delete',
Пример #3
0
        name='projects_import_demo'),

    url(r'^(?P<project_slug>[-\w]+)/$',
        'readthedocs.projects.views.private.project_manage',
        name='projects_manage'),

    url(r'^(?P<project_slug>[-\w]+)/comments_moderation/$',
        'readthedocs.projects.views.private.project_comments_moderation',
        name='projects_comments_moderation'),

    url(r'^(?P<project_slug>[-\w]+)/edit/$',
        ProjectUpdate.as_view(),
        name='projects_edit'),

    url(r'^(?P<project_slug>[-\w]+)/advanced/$',
        ProjectAdvancedUpdate.as_view(),
        name='projects_advanced'),

    url(r'^(?P<project_slug>[-\w]+)/version/(?P<version_slug>[^/]+)/delete_html/$',
        'readthedocs.projects.views.private.project_version_delete_html',
        name='project_version_delete_html'),

    url(r'^(?P<project_slug>[-\w]+)/version/(?P<version_slug>[^/]+)/$',
        'readthedocs.projects.views.private.project_version_detail',
        name='project_version_detail'),

    url(r'^(?P<project_slug>[-\w]+)/versions/$',
        'readthedocs.projects.views.private.project_versions',
        name='projects_versions'),

    url(r'^(?P<project_slug>[-\w]+)/delete/$',
Пример #4
0
 ),
 url(
     r'^import/manual/demo/$', ImportDemoView.as_view(),
     name='projects_import_demo',
 ),
 url(
     r'^(?P<project_slug>[-\w]+)/$', private.project_manage,
     name='projects_manage',
 ),
 url(
     r'^(?P<project_slug>[-\w]+)/edit/$', ProjectUpdate.as_view(),
     name='projects_edit',
 ),
 url(
     r'^(?P<project_slug>[-\w]+)/advanced/$',
     ProjectAdvancedUpdate.as_view(), name='projects_advanced',
 ),
 url(
     r'^(?P<project_slug>[-\w]+)/version/(?P<version_slug>[^/]+)/delete_html/$',
     private.project_version_delete_html, name='project_version_delete_html',
 ),
 url(
     r'^(?P<project_slug>[-\w]+)/version/(?P<version_slug>[^/]+)/$',
     private.project_version_detail, name='project_version_detail',
 ),
 url(
     r'^(?P<project_slug>[-\w]+)/delete/$', private.project_delete,
     name='projects_delete',
 ),
 url(
     r'^(?P<project_slug>[-\w]+)/users/$', private.project_users,