Skip to content

Instantly share code, notes, and snippets.

@mansha99
Created July 7, 2023 09:16
Show Gist options
  • Save mansha99/523f920cdc4a8f4e4d2ca1b27023d5b9 to your computer and use it in GitHub Desktop.
Save mansha99/523f920cdc4a8f4e4d2ca1b27023d5b9 to your computer and use it in GitHub Desktop.
project/api.py
from rest_framework import routers
from notices import views as noticeAppViews
router = routers.DefaultRouter()
router.register(r'notices', noticeAppViews.NoticeModelViewSet)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment