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.

Files for plugs-post, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size plugs_post-0.2.1-py2.py3-none-any.whl (7.8 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size plugs-post-0.2.1.tar.gz (7.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page