On Mon, Nov 17, 2008 at 9:56 PM, Canhua <[EMAIL PROTECTED]> wrote: > > hi, I am trying to create such a kind of field in a model. The field > can only take one or more values from a set of value, each seperated > by such as commas. It seems that there is no built-in field type in > Django. How may I implement this? Any clue is greatly appreciated. > > You could look into writing a custom model field:
http://docs.djangoproject.com/en/dev/howto/custom-model-fields/#howto-custom-model-fields You might also want to look at this thread: http://groups.google.com/group/django-users/browse_thread/thread/9bbc54473403ed86/c4efd95a675c2815 ? Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

