Hi all,
I recently made a plugin framework for django (GDAPS), and needed to do
some templating. I had seen that there is an undocumented
TemplaceCommand in Django which does, well, what it does.
It is a little opinionated and not very flexible, so I couldn't inherit
from it for my project, but had to reimplement it, more generic.
Now what I thought, wouldn't it be good to have that command available
as base class for other projects as well?
Please have a quick look at this class:
https://gitlab.com/nerdocs/gdaps/-/blob/7a363167ca8e20cdca952187314306874bd93a05/gdaps/management/templates/__init__.py
I used it for generating a new plugin - but due to not needing this any
more in the project's tree (plugins now can be developed outside and
separatedly) I change my templating system to cookiecutter.
But - if you are interested to use that class, replace Django's
TemplateCommand with it and inherit from it, I could bring it into shape.
Please drop me a line.
Best regards, Christian
--
Dr. Christian González
https://nerdocs.at