mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-25 10:49:16 +00:00
13 lines
317 B
Python
Executable File
13 lines
317 B
Python
Executable File
from ___api import views
|
|
from django.conf.urls import patterns, url, include
|
|
from rest_framework.routers import DefaultRouter
|
|
|
|
router = DefaultRouter()
|
|
router.register(r'user', views.UserProfileViewSet)
|
|
router.register(r'mix', views.MixViewSet)
|
|
|
|
urlpatterns = patterns(
|
|
'',
|
|
url(r'^', include(router.urls)),
|
|
)
|