Closed sumanthratna closed 3 years ago
I haven't touched Django in a long time; how does Django pick this up? Does this interfere with any of the existing code?
If not, then a PR would be welcome :)
I haven't touched Django in a long time; how does Django pick this up? Does this interfere with any of the existing code?
If not, then a PR would be welcome :)
To my knowledge, this should work pretty smoothly. re: existing code, I don't think so—the two code blocks I have in the original post should be all that's needed to get this feature ready to go.
I'll create a PR for this. @Qix- should I also create a unit test? We'll need to add Django as a CI dependency if so
@sumanthratna normally Id say yes but in this case no, its OK.
Rationale
this would remove a lot of redundant code across Django projects
Proposed API
This should be really easy to implement but I want to make sure you're (@Qix-) okay with maintaining this code.