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 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page