I created a new project with a class with two fields, one type CharField 
and another type BinaryField. When I access the admin, only the field name 
appears.

My class:

class Arquivo(models.Model):
    nome = models.CharField(max_length=255)
    arquivo = models.BinaryField()

    def __unicode__(self):
        return self.nome


Sorry if my english is not good.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/67aac277-c2c3-49ef-b3af-3380866a9d33%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to