Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 783 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 783 Bytes

django-appcms

Django-AppCMS is a extention for django-cms that adds templatetags for inserting django-cms placeholders in app templates. It enables front end editing of content in your apps.

Requirements

django-cms >= 2.1

Installation

Django-AppCMS can be installed with pip:

pip install django-appcms

Usage

  • Add appcms to INSTALLED_APPS in your settings.py file:

      INSTALLED_APPS = (
      	...
      	'appcms',
      	...
      )
    
  • Run ./manage.py syncdb to add tables for django-appcms

  • Load appcms_tags in your template:

      {% load appcms_tags %}
    
  • Add a placeholder:

      {% appcms_placeholder "name_of_placeholder" %}
    
  • Make sure the base template includes the django-cms toolbar

When the view loads with a admin logged in editing can be enabled in the django-toolbar.