Install using Pip
$ pip install plugs_post
Add it to INSTALLED_APPS
INSTALLED_APPS = ( # other apps 'plugs_post' )
Run migrate
$ python manage.py migrate plugs_post
Register the Viewsets
from plugs_post.views import PostViewSet, PostSectionViewSet ROUTER = routers.DefaultRouter() ROUTER.register(r'posts', PostViewSet) ROUTER.register(r'post_sections', PostSectionViewSet) urlpatterns = [ url(r'^', include(ROUTER.urls)) ]
-
Notifications
You must be signed in to change notification settings - Fork 0
License
solocompt/plugs-post
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published