-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
Description
Hi.
Just wondering if you'd be open to a PR that added control over the display and href of a "Create" button within the instance-selection modal? Off the top of my head, I'm thinking of something like
def create_url(request):
return '...'
@register_model_chooser(create_url=create_url)
class Foo(models.Model):
# ...I'm totally open to any suggestions you might have around the API, etc.
We'll need this functionality on a project, so if you're open to it, I can justify spending another hour or two to make it less hacky and send a PR. No worries, if you're reluctant or not enthused by the idea.
Cheers,
Mark.
Reactions are currently unavailable