hi malcolm,
now i'm trying that but i get the error :
"int() argument must be a string or a number, not 'QueryDict'"
why?
Hi,
this is my model
class CampaignFile(models.Model):
chance = models.DecimalField(null=True, blank=True, default=1.0,
decimal_places=2, max_digits=3,
I've got this working in the past, but only by writing custom create()
methods on the Collection and Entry classes.
In the custom create() method you can process the POST/PUT data directly
into the FileField just like you would for a normal form
Malcolm
On Thu, Feb 25, 2010 at 7:03 PM,
Hi everyone,
anyone help me??
On 22 Feb, 19:19, "manu.polline" wrote:
> Hi everyone,
> my name is Manuel. I'm tryng to upload a file directly in a filefield
> of Django model exposed by django-rest-interface.
> It'is possible?
> this is my model :
>
> class
Hi everyone,
my name is Manuel. I'm tryng to upload a file directly in a filefield
of Django model exposed by django-rest-interface.
It'is possible?
this is my model :
class File(models.Model):
file = models.FileField(upload_to='files',
help_text=_("file itself"))
page =
4 matches
Mail list logo