Django make model field name a link
        Posted  
        
            by Daniel Garcia
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Daniel Garcia
        
        
        
        Published on 2010-05-11T19:54:41Z
        Indexed on 
            2010/05/11
            20:14 UTC
        
        
        Read the original article
        Hit count: 467
        
what Im looking to do is to have a link on the name of a field of a model. So when im filling the form using the admin interface i can access some information.
I know this doesn't work but shows what i want to do
class A(models.Model):
    item_type = models.CharField(max_length=100, choices=ITEMTYPE_CHOICES, verbose_name="<a href='http://www.quackit.com/html/codes'>Item Type</a>")
Other option would be to put a description next to the field.
Im not even sure where to start from.
© Stack Overflow or respective owner