These are chat archives for django/django

Dec 2017
Dec 10 2017 03:37
Hello everyone! I am new here. I would like to contribute here for gsoc 2018. How should I begin?
Dec 10 2017 06:02
@shreyateeza do you find the way to join gsoc 2018?
Anish Shrestha
Dec 10 2017 09:18

How do I get this in my forms?
I tried

self.fields['my_field'].widget = FilteredSelectMultiple(
            "Stocked Items",
in my MyForm.__init__
django admin site implements this in its auth.contrib.Group admin form
how can I get same features like
Filter, available and chosen stuff
Dec 10 2017 13:44
Deniz Saner
Dec 10 2017 14:24
@matrixbot In case you care, I solved my question from a few days ago as follows:
As we don’t need to add/remove sample types on runtime, I implemented a dict, which maps from a DataSource.data_type string to an absolute path of the Sample, which implements the specific data type. By using importlib, I’m able to import the correct handle for the corresponding SampleClass and query the correct db via SampleClass.objects.filter(data_source=self) from a DataSource instance. :smile:
Dec 10 2017 15:56
@stduolc I didn't understand what you want to say