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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plugs-post-0.2.1.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

plugs_post-0.2.1-py2.py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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