<reponame>pyprism/Hiren-Remainder
from django.conf.urls import url, include
from api import views
from rest_framework import routers
from .views import ReminderViewSet


router = routers.DefaultRouter()
router.register(r'reminder', ReminderViewSet)

urlpatterns = [
    url(r'token/', views.login, name="token"),
    url(r'', include(router.urls)),
    url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
]

from django.conf.urls import url, include
from api import views
from rest_framework import routers
from .views import ReminderViewSet


router = routers.DefaultRouter()
router.register(r'reminder', ReminderViewSet)

urlpatterns = [
    url(r'token/', views.login, name="token"),
    url(r'', include(router.urls)),
    url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
]