drf-generators icon indicating copy to clipboard operation
drf-generators copied to clipboard

Add ability to use custom templates

Open wearpants opened this issue 9 years ago • 0 comments

It'd be handy to be able to specify custom templates on a per project basis without forking the entirety of drf-generators. Basically, I'm thinking a command line option on the management command for a base package name.

Easiest way to do this is probably to inject global names into the generators module for the imports here: https://github.com/Brobin/drf-generators/blob/master/drf_generators/generators.py#L5

wearpants avatar Feb 11 '16 18:02 wearpants