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

Latest commit

 

History

History
26 lines (19 loc) · 1.23 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.23 KB

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'