From 853467a2a833842bc074ca316e9cb8fdc3d9c5cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Mart=C3=ADn?= Date: Thu, 27 Sep 2012 16:03:17 +0200 Subject: [PATCH] Add the readme --- README.rst | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 4aacbb1..dad65df 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,51 @@ django-multiselectfield ======================= -A Multiple Choice model field \ No newline at end of file +A new model and form field. With this you can get a multiple select from a choices + +This egg is done from a `snippet `_ + +Installation +============ + +In your settings.py +------------------- + +:: + + INSTALLED_APPS = ( + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.sites', + 'django.contrib.admin', + + #.....................# + + 'multiselectfield', + ) + + +In your models.py +----------------- + +:: + + from multiselectfield import MultiSelectField + + ... + + class MyModel(models.Model): + + ..... + + my_field = MultiSelectField(verbose_name=_('xxx'), choices=MY_CHOICES) + + +Development +=========== + +You can get the last bleeding edge version of django-configfield by doing a clone +of its hg repository:: + + git clone https://github.com/goinnn/django-multiselectfield