Metadata-Version: 2.1
Name: django-cms-headless-test
Version: 0.0.1.dev3
Summary: A package to run djangocms in headless mode
Home-page: UNKNOWN
Author: Sunil Chaudhary
Author-email: sunil12738@gmail.com
License: UNKNOWN
Description: # djangocms headless mode
        
        This project is in test mode.
        
        ## Installation
        
        - Install the plugin by `pip install django-cms-headless-test`
        - rest_framework is a pre-requisite for this. Install it if not already installed using `pip install djangorestframework`
        
        ## Setup
        
        Open the settings.py file and add the following:
        
        ```python
        
        INSTALLED_APPS = (
            ...
            'django_cms_headless_test',
            'rest_framework',
            ...
        )
        ```
        Open the urls.py and add the following line in the url patterns
        
        ```python
        urlpatterns = [
            ...
            url(r'api/', include('django_cms_headless_test.urls', namespace='headless_api')),
            ...
        ]
        ```
        
        ## Output
        
        Run the server and go to `/api/pages`. You should be able to see the JSON with the details of all pages along with title, slug, meta-data etc. To see data for specific page, go to `/api/pages/path/<page-path>` (e.g. /api/pages/path/contact-us) to see data related to individual pages 
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
