Ejemplo n.º 1
0
    '',
    url(r'^$',
        ProjectDashboard.as_view(),
        name='projects_dashboard'),

    url(r'^import/$',
        ImportView.as_view(wizard_class=ImportWizardView),
        {'wizard': ImportWizardView},
        name='projects_import'),

    url(r'^import/manual/$',
        ImportWizardView.as_view(),
        name='projects_import_manual'),

    url(r'^import/manual/demo/$',
        ImportDemoView.as_view(),
        name='projects_import_demo'),

    url(r'^import/github/$',
        'readthedocs.projects.views.private.project_import_github',
        name='projects_import_github'),

    url(r'^import/bitbucket/$',
        'readthedocs.projects.views.private.project_import_bitbucket',
        name='projects_import_bitbucket'),

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

    url(r'^(?P<project_slug>[-\w]+)/alias/(?P<alias_id>\d+)/',
Ejemplo n.º 2
0
    RegexAutomationRuleUpdate,
    SearchAnalytics,
)

urlpatterns = [
    url(r'^$', ProjectDashboard.as_view(), name='projects_dashboard'),
    url(
        r'^import/$', ImportView.as_view(wizard_class=ImportWizardView),
        {'wizard': ImportWizardView}, name='projects_import',
    ),
    url(
        r'^import/manual/$', 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]+)/$',
        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/$',
Ejemplo n.º 3
0
    IntegrationCreate, IntegrationDetail, IntegrationDelete,
    IntegrationExchangeDetail, IntegrationWebhookSync,
    ProjectAdvertisingUpdate)
from readthedocs.projects.backends.views import ImportWizardView, ImportDemoView

urlpatterns = [
    url(r'^$', ProjectDashboard.as_view(), name='projects_dashboard'),
    url(r'^import/$',
        ImportView.as_view(wizard_class=ImportWizardView),
        {'wizard': ImportWizardView},
        name='projects_import'),
    url(r'^import/manual/$',
        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,
Ejemplo n.º 4
0
    ProjectUpdate,
)


urlpatterns = [
    url(r'^$', ProjectDashboard.as_view(), name='projects_dashboard'),
    url(
        r'^import/$', ImportView.as_view(wizard_class=ImportWizardView),
        {'wizard': ImportWizardView}, name='projects_import',
    ),
    url(
        r'^import/manual/$', 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]+)/edit/$', ProjectUpdate.as_view(),
        name='projects_edit',
    ),
    url(
        r'^(?P<project_slug>[-\w]+)/advanced/$',
        ProjectAdvancedUpdate.as_view(), name='projects_advanced',
    ),
    url(