How sakkada/django-cmskit works
Main Components
a. Core Components:
• Base CMS Framework Layer
• Models Layer
• Admin Interface
• Views Layer
• Templates System
• Utilities
b. Contrib Packages:
• Areas Module
• Items Module
• Nodes Module
Component Relationships
┌─────────────────────────────────────────────────────┐
• Django Framework │
• ┘
• ↑
┌─────────────────────────────────────────────────────┐
• CMS Kit Core │
• ┬──────────────┬────────────┬──────────┤
• Base Layer │ Models Layer │ Admin │ Views │
• Interface │ │
• ┴──────────────┴────────────┴──────────┘
• ↑
┌─────────────────────────────────────────────────────┐
• Contrib Modules │
• ┬─────────────────┬───────────────────┤
• Areas │ Items │ Nodes │
• Module │ Module │ Module │
• ┴─────────────────┴───────────────────┘
• ↑
┌─────────────────────────────────────────────────────┐
• Template System │
• ┘
Specific Component Details
a. Models Layer:
• Inheritance from Django's model system
b. Contrib Modules:
• Relationships between Areas, Items, and Nodes
• Template integration points
• Admin customization points
c. Template System:
• Hierarchy of template inheritance
• Admin templates and node templates
Important Elements to Highlight
• Query System: Show the custom query functionality inspired by Wagtail
• Admin Interface: Highlight the admin customization capabilities
• Template Hierarchy: Demonstrate the node-based template structure
• Utility Services: Show how utils connect to other components
Implementation Details
• Rectangles: Main components
• Diamonds: Decision points/interfaces