Skip to content

Templatetags for inserting django-cms placeholders in app templates. Front end editing of content in apps.

License

Notifications You must be signed in to change notification settings

Codemill/django-appcms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Templatetags for inserting django-cms placeholders in app templates. Front end editing of content in apps.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages