Coverage for src/django_resume/apps.py: 100%
18 statements
« prev ^ index » next coverage.py v7.6.1, created at 2024-09-27 16:39 +0200
« prev ^ index » next coverage.py v7.6.1, created at 2024-09-27 16:39 +0200
1from django.apps import AppConfig
4class ResumeConfig(AppConfig):
5 default_auto_field = "django.db.models.BigAutoField"
6 name = "django_resume"
8 @staticmethod
9 def register_plugins():
10 from .timelines import FreelanceTimelinePlugin, EmployedTimelinePlugin
11 from .tokens import TokenPlugin
12 from .projects import ProjectsPlugin
13 from .education import EducationPlugin
14 from django_resume.plugin_registry import plugin_registry
16 plugin_registry.register(FreelanceTimelinePlugin)
17 plugin_registry.register(EmployedTimelinePlugin)
18 plugin_registry.register(EducationPlugin)
19 plugin_registry.register(ProjectsPlugin)
20 plugin_registry.register(TokenPlugin)
22 def ready(self):
23 self.register_plugins()