diff --git a/musician/mixins.py b/musician/mixins.py new file mode 100644 index 0000000..cbc7592 --- /dev/null +++ b/musician/mixins.py @@ -0,0 +1,14 @@ +from django.views.generic.base import ContextMixin + +from . import get_version + + +class CustomContextMixin(ContextMixin): + def get_context_data(self, **kwargs): + context = super().get_context_data(**kwargs) + # TODO generate menu items + context.update({ + 'version': get_version(), + }) + + return context diff --git a/musician/templates/musician/dashboard.html b/musician/templates/musician/dashboard.html new file mode 100644 index 0000000..c5a653a --- /dev/null +++ b/musician/templates/musician/dashboard.html @@ -0,0 +1,40 @@ +{% extends "musician/base.html" %} +{% load i18n %} + +{% block content %} + +
Little description of what to be expected...
+ +{% for i in "123"|make_list %} +Some quick example text to build on the card title and make up the bulk of the card's + content.
+