Skip to main content

A RESTful API for managing collections of messaging content

Project description

A RESTful API for managing collections of messaging content. Comes with a client and a fake.

$ virtualenv ve
$ source ve/bin/activate
(ve)$ pip install -r requirements.txt
(ve)$ pip install -r requirements-dev.txt
(ve)$ py.test --ds=testsettings contentstore/tests.py --cov=contentstore

Configuration

The following configuration (with dummy values replaced by real ones) needs to be added to settings.py to configure this app:

INSTALLED_APPS = [
    # Usual Django stuff plus
    # Third-party apps
    'djcelery',
    'rest_framework',
    'rest_framework.authtoken',
    'django_filters'
]

# REST Framework conf defaults
REST_FRAMEWORK = {
    'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAdminUser',),
    'PAGINATE_BY': None,
    'DEFAULT_AUTHENTICATION_CLASSES': (
        'rest_framework.authentication.BasicAuthentication',
        'rest_framework.authentication.TokenAuthentication',
    ),
    'DEFAULT_PERMISSION_CLASSES': (
        'rest_framework.permissions.IsAuthenticated',
    ),
    'DEFAULT_FILTER_BACKENDS': ('rest_framework.filters.DjangoFilterBackend',)
}

Release Notes

0.1.3 - 2015-05-21 - Initial release

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

django-messaging-contentstore-0.1.3.tar.gz (13.0 kB view details)

Uploaded Source

File details

Details for the file django-messaging-contentstore-0.1.3.tar.gz.

File metadata

File hashes

Hashes for django-messaging-contentstore-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b8bcc2bc0c4e3cd35d7ae2aa4c4f3b17395ee52497f0a66839beb3aa407b9e3e
MD5 753efef6040acac4dee0d658416ba8ba
BLAKE2b-256 26f1afca8c286b111ba5430718b77f9011346ef3283c23e9721ad6aa3ed0ca15

See more details on using hashes here.

Supported by

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