Created
July 15, 2019 18:37
-
-
Save aballah-chamakh/a5c38cc405f029e5c6378f2f3e91d8ac to your computer and use it in GitHub Desktop.
This file contains hidden or 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.conf.urls import include | |
| from django.urls import path | |
| from rest_framework import routers | |
| from .views import DoorViewSet | |
| router = routers.DefaultRouter() | |
| router.register('door', DoorViewSet) | |
| urlpatterns = [ | |
| path('', include(router.urls)), | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment