<gh_stars>0
"""Rides URLS
"""

# Django 
from django.urls import path, include

# DJango REST framework
from rest_framework.routers import DefaultRouter

# Views
from .views import rides as ride_views

router = DefaultRouter()
router.register(
	r'circles/(?P<slug_name>[-a-zA-Z0-9_]+)/rides',
	ride_views.RideViewSet,
	basename='ride'
)

urlpatterns = [
	path('', include(router.urls))
]

"""Rides URLS
"""

# Django 
from django.urls import path, include

# DJango REST framework
from rest_framework.routers import DefaultRouter

# Views
from .views import rides as ride_views

router = DefaultRouter()
router.register(
	r'circles/(?P<slug_name>[-a-zA-Z0-9_]+)/rides',
	ride_views.RideViewSet,
	basename='ride'
)

urlpatterns = [
	path('', include(router.urls))
]
Rides URLS # Django # DJango REST framework # Views