Created
February 10, 2020 21:15
-
-
Save Kristian-Roopnarine/a48f254c8cc45a9e2c1e7216003b79f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib import admin | |
from django.urls import path | |
from rest_framework import routers | |
from .api import ProjectInfoViewSet | |
router = routers.DefaultRouter() | |
router.register('api/projects',ProjectInfoViewSet) | |
urlpatterns = router.urls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment