Skip to main content

Post APP

Project description

https://badge.fury.io/py/plugs-post.png https://travis-ci.org/yo-solo/plugs-post.png?branch=master https://codecov.io/github/yo-solo/plugs-post/coverage.svg?branch=master

Quick start

  1. Install using Pip

    $ pip install plugs_post
  2. Add it to INSTALLED_APPS

    INSTALLED_APPS = (
    # other apps
    'plugs_post'
    )
  3. Run migrate

    $ python manage.py migrate plugs_post
  4. 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))
    ]

History

0.1.0 (2016-12-29)

  • First release on PyPI.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page