Пример #1
0
        ContentOfAuthor.as_view(type='TUTORIAL',
                                context_object_name='tutorials'),
        name="find-tutorial"),
    url(r'^articles/(?P<pk>\d+)/$',
        ContentOfAuthor.as_view(type='ARTICLE',
                                context_object_name='articles'),
        name="find-article"),
    url(r'^aides/$', ContentsWithHelps.as_view(), name='helps'),
    url(r'^(?P<pk>\d+)/(?P<slug>.+)/(?P<parent_container_slug>.+)/(?P<container_slug>.+)/$',
        DisplayContainer.as_view(public_is_prioritary=False),
        name='view-container'),
    url(r'^(?P<pk>\d+)/(?P<slug>.+)/(?P<container_slug>.+)/$',
        DisplayContainer.as_view(public_is_prioritary=False),
        name='view-container'),
    url(r'^(?P<pk>\d+)/(?P<slug>.+)/$',
        DisplayContent.as_view(public_is_prioritary=False),
        name='view'),
    url(r'^telecharger/(?P<pk>\d+)/(?P<slug>.+)/$',
        DownloadContent.as_view(),
        name='download-zip'),

    # beta:
    url(r'^beta/(?P<pk>\d+)/(?P<slug>.+)/(?P<parent_container_slug>.+)/(?P<container_slug>.+)/$',
        DisplayBetaContainer.as_view(public_is_prioritary=False),
        name='beta-view-container'),
    url(r'^beta/(?P<pk>\d+)/(?P<slug>.+)/(?P<container_slug>.+)/$',
        DisplayBetaContainer.as_view(public_is_prioritary=False),
        name='beta-view-container'),
    url(r'^beta/(?P<pk>\d+)/(?P<slug>.+)/$',
        DisplayBetaContent.as_view(),
        name='beta-view'),
Пример #2
0
        name='find-tutorial'),
    url(r'^articles/(?P<pk>\d+)/$',
        ContentOfAuthor.as_view(type='ARTICLE', context_object_name='articles'),
        name='find-article'),
    url(r'^tribunes/(?P<pk>\d+)/$',
        ContentOfAuthor.as_view(type='OPINION', context_object_name='opinions'),
        name='find-opinion'),
    url(r'^aides/$', ContentsWithHelps.as_view(), name='helps'),
    url(r'^(?P<pk>\d+)/(?P<slug>.+)/(?P<parent_container_slug>.+)/(?P<container_slug>.+)/$',
        DisplayContainer.as_view(public_is_prioritary=False),
        name='view-container'),
    url(r'^(?P<pk>\d+)/(?P<slug>.+)/(?P<container_slug>.+)/$',
        DisplayContainer.as_view(public_is_prioritary=False),
        name='view-container'),

    url(r'^(?P<pk>\d+)/(?P<slug>.+)/$', DisplayContent.as_view(public_is_prioritary=False),
        name='view'),

    url(r'^telecharger/(?P<pk>\d+)/(?P<slug>.+)/$', DownloadContent.as_view(),
        name='download-zip'),

    # beta:
    url(r'^beta/(?P<pk>\d+)/(?P<slug>.+)/(?P<parent_container_slug>.+)/(?P<container_slug>.+)/$',
        DisplayBetaContainer.as_view(public_is_prioritary=False),
        name='beta-view-container'),
    url(r'^beta/(?P<pk>\d+)/(?P<slug>.+)/(?P<container_slug>.+)/$',
        DisplayBetaContainer.as_view(public_is_prioritary=False),
        name='beta-view-container'),

    url(r'^beta/(?P<pk>\d+)/(?P<slug>.+)/$', DisplayBetaContent.as_view(), name='beta-view'),
Пример #3
0
    url(r'^tutoriels/(?P<pk>\d+)/$',
        ContentOfAuthor.as_view(type='TUTORIAL',
                                context_object_name='tutorials'),
        name="find-tutorial"),
    url(r'^articles/(?P<pk>\d+)/$',
        ContentOfAuthor.as_view(type='ARTICLE',
                                context_object_name='articles'),
        name="find-article"),
    url(r'^aides/$', ContentsWithHelps.as_view(), name='helps'),
    url(r'^(?P<pk>\d+)/(?P<slug>.+)/(?P<parent_container_slug>.+)/(?P<container_slug>.+)/$',
        DisplayContainer.as_view(),
        name='view-container'),
    url(r'^(?P<pk>\d+)/(?P<slug>.+)/(?P<container_slug>.+)/$',
        DisplayContainer.as_view(),
        name='view-container'),
    url(r'^(?P<pk>\d+)/(?P<slug>.+)/$', DisplayContent.as_view(), name='view'),
    url(r'^telecharger/(?P<pk>\d+)/(?P<slug>.+)/$',
        DownloadContent.as_view(),
        name='download-zip'),

    # beta:
    url(r'^beta/(?P<pk>\d+)/(?P<slug>.+)/(?P<parent_container_slug>.+)/(?P<container_slug>.+)/$',
        DisplayBetaContainer.as_view(),
        name='beta-view-container'),
    url(r'^beta/(?P<pk>\d+)/(?P<slug>.+)/(?P<container_slug>.+)/$',
        DisplayBetaContainer.as_view(),
        name='beta-view-container'),
    url(r'^beta/(?P<pk>\d+)/(?P<slug>.+)/$',
        DisplayBetaContent.as_view(),
        name='beta-view'),