Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
/ CMS-Basics Public archive

Minimal classes to create a hierarchical menu, pages, etc.

Notifications You must be signed in to change notification settings

raprasad/CMS-Basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 

Repository files navigation

Minimal classes to create pages with a hierarchical menu.

Basic building blocks:

cms_menu_node

Node

cms_page

Page(Node)

  • Inherits from Node. Includes an author, page content, etc

PageDirectLink(Node)

  • Inherits from node and directly links to an outside page. e.g., a link on the menu goes to a specific url. Created for menu links that go off site.

PageCustomView(Node)

  • Inherits from Node. This menu item points to a view name. May not be the best way to do this.
  • cms_page/verify_all_page_custom_views.py -> verify_all_page_custom_views()
  • This function can be called to make sure that the names specified in the PageCustomView exist in the project's urls.py

Dependencies

  • Poor-Man's-Tag, contains one Tag model with 5 attributes
  • django-ckeditor, for using the ckeditor with a filebrowser for uploaded files. The dependency may be removed by searching for/removing 'CKEditorWidget'

About

Minimal classes to create a hierarchical menu, pages, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages