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__
When attempting to download a zip file the following error is raised:
192.168.1.39 - - [27/Apr/2011 11:12:35] "GET /media/downloads/betha/
essencial/sybase9/windows32/win32.rar HTTP/1.1" 500 -
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/django/core/servers/
ba
When trying to upload or download files that contain non-ascii
caracters raise a TemplateSyntaxError exception with the following
contents:
Django Version: 1.2.5
Exception Type: TemplateSyntaxError
Exception Value:
Caught UnicodeEncodeError while rendering: 'ascii' codec can't enc
In the model below, using the Django admin, no matter what value I choose,
it always displays the default value. But writes the correct value in the
database. Am I doing something wrong or is this a bug?
TENSAO_220 = Decimal(220)
TENSAO_110 = Decimal(110)
TENSOES = ((TENSAO_220, '220 volts'),
error reappears when I try to annotate the base_manager.
Should I open a new issue?
--
Elton Pereira de Lima
-
Quem nada dúvida, nada descobre.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe fro
5 matches
Mail list logo