django-rest-hooks icon indicating copy to clipboard operation
django-rest-hooks copied to clipboard

New setting pointing to custom Model

Open erikcw opened this issue 6 years ago • 2 comments

The built in Signals (in models.py) don’t work with a custom Hook model because they are hard coded to use the built in model.

Seems like the right way to handle this is to add an optional setting pointing to the custom model, and then use the value of that setting instead of hardcoded references to models.Hook.

erikcw avatar Feb 08 '19 19:02 erikcw

@erikcw If you have time to open a PR with this I would be happy to take a look and merge it in.

avelis avatar Feb 11 '19 01:02 avelis

Merged but not published on PyPI

imposeren avatar May 13 '19 21:05 imposeren