/djangocms-rest-api

A REST API for django CMS

Primary LanguagePythonMIT LicenseMIT

Deprecated

Forked from https://github.com/divio/djangocms-rest-api

Django Rest Framework setup for Django-CMS. Updated for python 3+ / Django 2+

djangocms-rest-api

An application to use CMS content and features via REST API.

djangocms-rest-api uses Django REST framework to serve django CMS data through a REST API

Installation

  • pip install djangocms-rest-api

  • Edit INSTALLED_APPS:

    INSTALLED_APPS = [
        ...
        'rest_framework',
        'djangocms_rest_api',
        ...
    ]
    
  • Edit urls.py:

    urlpatterns = [
        ...
        url(r'^api/', include('djangocms_rest_api.urls', namespace='api')),
        ...
    ]
    
  • That's all!

Features

Credits

License

MIT