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


--
You received this message because you are subscribed to the Google Groups "Django 
developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/a6efb88d-963d-fdda-f499-18616e315609%40nerdocs.at.
  • Tem... Christian González
    • ... 'Adam Johnson' via Django developers (Contributions to Django itself)
      • ... Christian González

Reply via email to