コード例 #1
0
 url(r'^journal/(?P<pk>\d+)$',
     DiaryDetailView.as_view(),
     name='diary-detail'),
 url(r'^journal/write$',
     login_required(DiaryCreateView.as_view()),
     name='diary-create'),
 url(r'^journal/write/(?P<pk>\d+)$',
     login_required(DiaryUpdateView.as_view()),
     name='diary-update'),
 url(r'^initiative/(?P<slug>[^/]*)$',
     CommunityDetail.as_view(),
     name='community-detail'),
 url(r'^channels/(?P<slug>[^/]*)$',
     GroupDetail.as_view(),
     name='group_detail'),
 url(r'^get(?P<slug>\w+)$', GetPageView.as_view(), name='getpage'),
 url(r'^search/$', SearchView.as_view(), name='search'),
 url(r'^about/leadership$',
     LeaderListView.as_view(template_name='mapstory/leaders.html'),
     name='about-leaders'),
 url(r'^icons/', include('icon_commons.urls')),
 url(r'^donate$',
     LeaderListView.as_view(template_name='mapstory/donate.html'),
     name='donate'),
 url(r'^proxy/', proxy),
 url(r'^favorite/', include('geonode.contrib.favorite.urls')),
 url(r'^layers/(?P<layername>[^/]*)/upload/metadata$',
     layer_metadata,
     name="layer_upload_metadata",
     kwargs={'template': 'upload/layer_upload_metadata.html'}),
 url(r"^flag/", include('mapstory.apps.flag.urls')),
コード例 #2
0
ファイル: urls.py プロジェクト: storyscapes/storyscapes
    url(r'^organizations/(?P<slug>[^/]*)$', organization_detail, name='organization_detail'),
    url(r'^organizations/edit/(?P<slug>[^/]*)$', organization_edit, name='organization_edit'),
    url(r'^organizations/members/(?P<slug>[^/]*)$', organization_members, name='organization_members'),
    url(r'^organizations/invite/(?P<slug>[^/]*)$', organization_invite, name='organization_invite'),
    url(r'^organizations/(?P<slug>[^/]*)/members_add/$', organization_members_add, name='organization_members_add'),
    url(r'^organizations/(?P<slug>[^/]*)/member_remove/(?P<username>.+)$', organization_member_remove,
        name='organization_member_remove'),
    url(r'^initiatives/create/$', initiative_create, name='initiative_create'),
    url(r'^initiatives/(?P<slug>[^/]*)$', initiative_detail, name='initiative_detail'),
    url(r'^initiatives/edit/(?P<slug>[^/]*)$', initiative_edit, name='initiative_edit'),
    url(r'^initiatives/members/(?P<slug>[^/]*)$', initiative_members, name='initiative_members'),
    url(r'^initiatives/invite/(?P<slug>[^/]*)$', initiative_invite, name='initiative_invite'),
    url(r'^initiatives/(?P<slug>[^/]*)/members_add/$', initiative_members_add, name='initiative_members_add'),
    url(r'^initiatives/(?P<slug>[^/]*)/member_remove/(?P<username>.+)$', initiative_member_remove, name='initiative_member_remove'),

    url(r'^get(?P<slug>\w+)$', GetPageView.as_view(), name='getpage'),
    url(r'^search/$', SearchView.as_view(), name='search'),
    url(r'^about/leadership$', LeaderListView.as_view(template_name='mapstory/leaders.html'), name='about-leaders'),
    url(r'^icons/', include('icon_commons.urls')),

    url(r'^donate$', LeaderListView.as_view(template_name='mapstory/donate.html'), name='donate'),
    url(r'^proxy/', proxy),
    url(r'^favorite/', include('geonode.contrib.favorite.urls')),
    url(r'^notifications/', include('notification.urls')),
    url(r'^layers/(?P<layername>[^/]*)/upload/metadata$', layer_metadata, name="layer_upload_metadata", kwargs={'template':'upload/layer_upload_metadata.html'}),

    url(r"^flag/", include('mapstory.apps.flag.urls')),

    url(r'^layers/upload$', layer_upload, name='layer_upload'),
    url(r'^layers/create$', layer_create, name='layer_create'),
    url(r'^layers/append$', layer_append, name='layer_append'),
コード例 #3
0
ファイル: urls.py プロジェクト: cuulee/mapstory
                       # Adding Threaded Comments app
                       url(r'^articles/comments/',
                           include('django_comments.urls')),

                       # Blog Comments
                       url(r'^blog/comments/', include('fluent_comments.urls')),

                       # Editor
                       url(r'^maps/edit$', new_map,
                           {'template': 'composer/maploom.html'}, name='map-edit'),
                       url(r'^maps/(?P<mapid>\d+)/view$', map_view,
                           {'template': 'composer/maploom.html'}, name='map-view'),

                       url(r'^get(?P<slug>\w+)$',
                           GetPageView.as_view(), name='getpage'),
                       url(r'^search/$', SearchView.as_view(), name='search'),
                       url(r'^about/leadership$', LeaderListView.as_view(
                           template_name='mapstory/leaders.html'), name='about-leaders'),
                       url(r'^icons/', include('icon_commons.urls')),
                       url(r'^journal/', include('mapstory.journal.urls')),

                       url(r'^donate$', LeaderListView.as_view(
                           template_name='mapstory/donate.html'), name='donate'),
                       url(r'^favorite/', include('mapstory.favorite.urls')),
                       url(r"^flag/", include('mapstory.flag.urls')),

                       url(r'^teams/', include('mapstory.teams.urls', namespace='teams')),
                       url(r'^organizations/', include('mapstory.organizations.urls',
                                                       namespace='organizations')),
                       url(r'^initiatives/', include('mapstory.initiatives.urls',
コード例 #4
0
ファイル: urls.py プロジェクト: lhcramer/mapstory
                       # Adding Threaded Comments app
                       url(r'^articles/comments/',
                           include('django_comments.urls')),

                       # Blog Comments
                       url(r'^blog/comments/', include('fluent_comments.urls')),

                       # Editor
                       url(r'^maps/edit$', new_map,
                           {'template': 'composer/maploom.html'}, name='map-edit'),
                       url(r'^maps/(?P<mapid>\d+)/view$', map_view,
                           {'template': 'composer/maploom.html'}, name='map-view'),

                       url(r'^get(?P<slug>\w+)$',
                           GetPageView.as_view(), name='getpage'),
                       url(r'^search/$', SearchView.as_view(), name='search'),
                       url(r'^about/leadership$', LeaderListView.as_view(
                           template_name='mapstory/leaders.html'), name='about-leaders'),
                       url(r'^icons/', include('icon_commons.urls')),
                       url(r'^journal/', include('mapstory.journal.urls')),

                       url(r'^donate$', LeaderListView.as_view(
                           template_name='mapstory/donate.html'), name='donate'),
                       url(r'^favorite/', include('mapstory.favorite.urls')),
                       url(r"^flag/", include('mapstory.flag.urls')),

                       url(r'^teams/', include('mapstory.teams.urls', namespace='teams')),
                       url(r'^organizations/', include('mapstory.organizations.urls',
                                                       namespace='organizations')),
                       url(r'^initiatives/', include('mapstory.initiatives.urls',
コード例 #5
0
ファイル: urls.py プロジェクト: MapStory/mapstory
     r"^organizations/(?P<slug>[^/]*)/member_remove/(?P<username>.+)$",
     organization_member_remove,
     name="organization_member_remove",
 ),
 url(r"^initiatives/create/$", initiative_create, name="initiative_create"),
 url(r"^initiatives/(?P<slug>[^/]*)$", initiative_detail, name="initiative_detail"),
 url(r"^initiatives/edit/(?P<slug>[^/]*)$", initiative_edit, name="initiative_edit"),
 url(r"^initiatives/members/(?P<slug>[^/]*)$", initiative_members, name="initiative_members"),
 url(r"^initiatives/invite/(?P<slug>[^/]*)$", initiative_invite, name="initiative_invite"),
 url(r"^initiatives/(?P<slug>[^/]*)/members_add/$", initiative_members_add, name="initiative_members_add"),
 url(
     r"^initiatives/(?P<slug>[^/]*)/member_remove/(?P<username>.+)$",
     initiative_member_remove,
     name="initiative_member_remove",
 ),
 url(r"^get(?P<slug>\w+)$", GetPageView.as_view(), name="getpage"),
 url(r"^search/$", SearchView.as_view(), name="search"),
 url(r"^about/leadership$", LeaderListView.as_view(template_name="mapstory/leaders.html"), name="about-leaders"),
 url(r"^icons/", include("icon_commons.urls")),
 url(r"^journal/", include("mapstory.journal.urls")),
 url(r"^donate$", LeaderListView.as_view(template_name="mapstory/donate.html"), name="donate"),
 url(r"^proxy/", proxy),
 url(r"^favorite/", include("geonode.contrib.favorite.urls")),
 url(r"^notifications/", include("notification.urls")),
 url(r"^flag/", include("mapstory.apps.flag.urls")),
 url(r"^layers/create$", layer_create, name="layer_create"),
 url(
     r"^layers/(?P<layername>[^/]*)/viewer$",
     layer_detail,
     {"template": "viewer/layer_viewer.html"},
     name="layer_viewer",