from django.conf.urls import patterns, include, url, static
from rest_framework import routers
from geotrek.api.v2 import views as api_views


router = routers.SimpleRouter()
router.register(r'touristiccontent', api_views.TouristicContentViewSet)
router.register(r'trek', api_views.TrekViewSet)
#router.register(r'roaming', api_views.RoamingViewSet)
router.register(r'poi', api_views.POIViewSet)

urlpatterns = [
    #url(r'^forgot-password/$', ForgotPasswordFormView.as_view()),
]

urlpatterns += router.urls
@@ -290,11 +290,28 @@
 wSet
+, base_name='trek'
 )%0A
-#
 rout
@@ -354,24 +354,45 @@
 amingViewSet
+, base_name='roaming'
 )%0Arouter.reg
@@ -425,16 +425,33 @@
 IViewSet
+, base_name='poi'
 )%0A%0Aurlpa

fix urls