refactor: sketches page
- Added new widget SketchTeaser - Moved get_recent_sketches as static method in LMSSketch - Added `models.py` to make it easy to import Course and Sketch class - Updated the sketches template to use the SketchTeaser widget
This commit is contained in:
5
community/lms/models.py
Normal file
5
community/lms/models.py
Normal file
@@ -0,0 +1,5 @@
|
||||
"""Handy module to make access to all doctypes from a single place.
|
||||
"""
|
||||
from .doctype.lms_course.lms_course import LMSCourse as Course
|
||||
from .doctype.lms_sketch.lms_sketch import LMSSketch as Sketch
|
||||
|
||||
Reference in New Issue
Block a user