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

Admin only? Comparision to other django*select2 apps? #1

Open
hartwork opened this issue May 20, 2020 · 5 comments
Open

Admin only? Comparision to other django*select2 apps? #1

hartwork opened this issue May 20, 2020 · 5 comments

Comments

@hartwork
Copy link
Contributor

hartwork commented May 20, 2020

Hi!

From a quick look through the readme, I am not sure:

  • if this package is of help inside the Django admin only or in the rest of the application and UPDATE: yes, it's Django Admin only
  • how this compares to django-easy-select2 and django-select2 in particular.

Could you add a few sentences on that matter? Thanks in advance!

Best, Sebastian

@jerinpetergeorge
Copy link
Owner

@hartwork
Sorry for the late response.

I built this package just for fun 😉 and also to support an internal tool of my current company. My requirement was

  1. Option to filter the base QuerySet for the same FKs (buit-in autocomplete does call Model.objects.all() in this case)
  2. Option to change label on the drop-down list (by default, __str__ of FK is represented)

As I am not a great JS/JQuery/CSS/HTML (:hushed: seriously ? ) guy, I felt managing the external medial files will become a headache (sooner or later :sweat_smile: ) so I decided to steal it from built-in Django Admin 😝 😝

Does this "widget" work in normal form?

Yes

how this compares to django-easy-select2 and django-select2 in particular?

I don't think this package is currently in a state to compare with other similar packages 😝 😝 Maybe I can contribute to other packages as much as I can

@hartwork
Copy link
Contributor Author

hartwork commented Jun 3, 2020

I built this package just for fun wink and also to support an internal tool of my current company.

Close to identical situation with my interest in Select2 integration with Django.

Does this "widget" work in normal form?

Yes

Interesting!

Are there plans to add a simple demo app to demo use of this Widget outside of Django admin? Else, would you be open to a pull request if I gave it a try?

@hartwork
Copy link
Contributor Author

Any thoughts?

@jerinpetergeorge
Copy link
Owner

Hey... here is one very basic demo app, https://github.com/jerinpetergeorge/simple-select2-demo

Please do let me know if you have any kind of suggestion 😄

@hartwork
Copy link
Contributor Author

Pretty nice — thank you!

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

2 participants