Hi RAfael.

I am using this app for multi select 
fields https://github.com/goinnn/django-multiselectfield
which perform a render the options like checkbox of multiple selection in 
the django admin forms

You should install it of this way

1. Download the tar.gz file from 
https://pypi.python.org/pypi/django-multiselectfield
2. Inside of your virtual environment execute pip install 
<name-of-file-tar.gz>
3. Specify 'multiselectfield' in the INSTALLED_APPS in settings.py

view this 
source 
http://stackoverflow.com/questions/27332850/django-multiselectfield-cant-install

When you run the Django Server, if you are using Django 1.9.2 you see this 
warning 

site-packages/multiselectfield/db/fields.py:45: RemovedInDjango110Warning: 
SubfieldBase has been deprecated. Use Field.from_db_value instead.
  return metaclass(cls.__name__, cls.__bases__, orig_vars)

THis warning is related with this, but I unknown how to fix for the context 
of multiselectfield package application.


Another alternatives for multiselects fields are:
https://github.com/PragmaticMates/django-clever-selects
https://github.com/theatlantic/django-select2-forms
https://github.com/kelvinwong-ca/django-select-multiple-field
https://github.com/digi604/django-smart-selects which I am also using it! 
this works models based in ManyToMany relationships.

I hope that these resource are useful for you.

Best Regards.



 
On Friday, March 4, 2016 at 3:38:05 PM UTC-5, Rafael Macêdo wrote:
>
> Sou iniciante em Django e gostaria de saber se há algum tipo de campo na 
> classe Model semelhante ao MultipleChoiceField da classe Form.
>
> Obrigado desde já.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5eeb00db-664b-4c60-90eb-f8f7f7997c7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to