Exemplo n.º 1
0
    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'),
    url(r'^layers/(?P<layername>[^/]*)/metadata$', layer_metadata, name="layer_metadata"),
Exemplo n.º 2
0
     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')),
 url(r'^maps/(?P<mapid>\d+)/remove$', map_remove, name='map_remove'),
Exemplo n.º 3
0
     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",
 ),