Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Add possibility to filter model querysets. #19

Open
fabiocaccamo opened this issue Sep 17, 2019 · 1 comment
Open

[feature] Add possibility to filter model querysets. #19

fabiocaccamo opened this issue Sep 17, 2019 · 1 comment

Comments

@fabiocaccamo
Copy link

fabiocaccamo commented Sep 17, 2019

It would be very useful to have the possibility to filter models, for example if you don't want that backend users set the url of an unpublished object.

It would be nice doing it by passing the manager, like in get_object_or_404:

AnyUrlField.register_model(Products.objects_published, widget=SimpleRawIdWidget(Products))

Thank you for this great field.

@fabiocaccamo fabiocaccamo changed the title Add possibility to filter model querysets. [feature] Add possibility to filter model querysets. Aug 23, 2022
@fabiocaccamo
Copy link
Author

fabiocaccamo commented Aug 23, 2022

@vdboor any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant