Re: django choises field

2009-03-19 Thread Psihonavt
Briel, I ubderstand what you want to say, i'll try to find another way. thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: django choises field

2009-03-18 Thread Briel
Hi. I dont think you can get user input pn a field with choices, but then you dont really need choices if you want users to be able to input anything. Choices are used when you only want to accept certain values like a list of countries, states, or whatever. It doesn't seem like you have thought

django choises field

2009-03-18 Thread Psihonavt
hello, have a question, in my model, i have filed, like: cpu_ch =( ("Box","Box import"), ("EOM","EOM import"), ) import_type = models.CharField(_("Import type"), max_length=5, choices=cpu_ch, blank=True) I want to have a third choice in choices cpu_ch, for example,