Ejemplo n.º 1
0
    url(r'^reactions/afficher/(?P<pk>\d+)/$',
        ShowReaction.as_view(),
        name="show-reaction"),
    url(r'^reactions/alerter/(?P<pk>\d+)/$',
        SendNoteAlert.as_view(),
        name="alert-reaction"),
    url(r'^reactions/resoudre/$',
        SolveNoteAlert.as_view(),
        name="resolve-reaction"),

    # typo:
    url(r'^reactions/typo/$', WarnTypo.as_view(), name="warn-typo"),

    # create:
    url(r'^nouveau-tutoriel/$',
        CreateContent.as_view(created_content_type="TUTORIAL"),
        name='create-tutorial'),
    url(r'^nouvel-article/$',
        CreateContent.as_view(created_content_type="ARTICLE"),
        name='create-article'),
    url(r'^nouveau-conteneur/(?P<pk>\d+)/(?P<slug>.+)/(?P<container_slug>.+)/$',
        CreateContainer.as_view(),
        name='create-container'),
    url(r'^nouveau-conteneur/(?P<pk>\d+)/(?P<slug>.+)/$',
        CreateContainer.as_view(),
        name='create-container'),
    url(
        r'^nouvelle-section/(?P<pk>\d+)/(?P<slug>.+)/(?P<parent_container_slug>.+)/'
        r'(?P<container_slug>.+)/$',
        CreateExtract.as_view(),
        name='create-extract'),
Ejemplo n.º 2
0
    url(r'^reactions/resoudre/$', SolveNoteAlert.as_view(), name='resolve-reaction'),

    # follow:
    url(r'^suivre/(?P<pk>\d+)/reactions/$', FollowContentReaction.as_view(), name='follow-reactions'),
    url(r'^suivre/membres/(?P<pk>\d+)/$', FollowNewContent.as_view(), name='follow'),

    # content alerts:
    url(r'^alerter/(?P<pk>\d+)/$', SendContentAlert.as_view(), name='alert-content'),
    url(r'^resoudre/(?P<pk>\d+)/$', SolveContentAlert.as_view(), name='resolve-content'),

    # typo:
    url(r'^reactions/typo/$', WarnTypo.as_view(), name='warn-typo'),

    # create:
    url(r'^nouveau-tutoriel/$',
        CreateContent.as_view(created_content_type='TUTORIAL'), name='create-tutorial'),
    url(r'^nouvel-article/$',
        CreateContent.as_view(created_content_type='ARTICLE'), name='create-article'),
    url(r'^nouveau-billet/$',
        CreateContent.as_view(created_content_type='OPINION'), name='create-opinion'),
    url(r'^nouveau-conteneur/(?P<pk>\d+)/(?P<slug>.+)/(?P<container_slug>.+)/$',
        CreateContainer.as_view(),
        name='create-container'),
    url(r'^nouveau-conteneur/(?P<pk>\d+)/(?P<slug>.+)/$',
        CreateContainer.as_view(),
        name='create-container'),


    url(r'^nouvelle-section/(?P<pk>\d+)/(?P<slug>.+)/(?P<parent_container_slug>.+)/(?P<container_slug>.+)/$',
        CreateExtract.as_view(),
        name='create-extract'),
Ejemplo n.º 3
0
        name='follow'),

    # content alerts:
    url(r'^alerter/(?P<pk>\d+)/$',
        SendContentAlert.as_view(),
        name='alert-content'),
    url(r'^resoudre/(?P<pk>\d+)/$',
        SolveContentAlert.as_view(),
        name='resolve-content'),

    # typo:
    url(r'^reactions/typo/$', WarnTypo.as_view(), name='warn-typo'),

    # create:
    url(r'^nouveau-tutoriel/$',
        CreateContent.as_view(created_content_type='TUTORIAL'),
        name='create-tutorial'),
    url(r'^nouvel-article/$',
        CreateContent.as_view(created_content_type='ARTICLE'),
        name='create-article'),
    url(r'^nouveau-billet/$',
        CreateContent.as_view(created_content_type='OPINION'),
        name='create-opinion'),
    url(r'^nouveau-conteneur/(?P<pk>\d+)/(?P<slug>.+)/(?P<container_slug>.+)/$',
        CreateContainer.as_view(),
        name='create-container'),
    url(r'^nouveau-conteneur/(?P<pk>\d+)/(?P<slug>.+)/$',
        CreateContainer.as_view(),
        name='create-container'),
    url(r'^nouvelle-section/(?P<pk>\d+)/(?P<slug>.+)/(?P<parent_container_slug>.+)/(?P<container_slug>.+)/$',
        CreateExtract.as_view(),