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, "other
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 django-users@googlegroups.co
Good evening,
i have three models, for example:
class tProduct(models.Model):
name = models.CharField(_("Name"), max_length=20, blank=True)
category = models.ManyToManyField(tCategory, blank=True,
verbose_name=_("Category"))
objects = tProductManager()
content_type = models.Forei
good evening guys!
have a question:
in my model i have a field, like
guarantee = models.CharField(_("Link to guarantee"), max_length=250,
blank=True)
to this charfield, on some conditions, i generate some link (f.e.
http://myshop.com/guarantee/47/)
What i want is:
in admin interface of my model, i
gt;
>
> manualhttp://docs.djangoproject.com/en/dev/ref/contrib/admin/#list-display
>
> On Apr 9, 8:31 pm,Psihonavt wrote:
>
forget to answer, but it works! thnx
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
5 matches
Mail list logo