Skip to main content
Help us improve Python packaging – donate today!

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.7 - 2015-07-02 - Add filter for lang, fix broken message content URL in client (bump) 0.1.6 - 2015-07-01 - Publish package with missing init 0.1.5 - 2015-07-01 - Publish package with client and verified fake 0.1.4 - 2015-06-11 - Python 3 compat imports 0.1.3 - 2015-05-21 - Initial release

Release history Release notifications

This version
History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-messaging-contentstore-0.1.7.tar.gz (18.7 kB) Copy SHA256 hash SHA256 Source None Jul 1, 2015

Supported by

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