here is my model
Do correct me ,where i am doing the mistake
class Task(models.Model):
Id=models.IntegerField()
Name=models.CharField(max_length=50,null=False,blank=True)
Image1=models.FileField(blank=True, default="",
upload_to="media/images",null=True)
Image2=models.FileField(blank=True, default
Yes ,I have tried,I am getting the excel sheet,everything is correct except
not getting the image,getting only the root media folder adress
On Fri, Jul 10, 2020, 11:07 AM Jakob Damgaard Møller
wrote:
> What have you tried so fare?
> Are you able to get the data out of the api as wanted?
> Are yo
What have you tried so fare?
Are you able to get the data out of the api as wanted?
Are you able to produce a excel file?
On Fri, Jul 10, 2020 at 5:02 AM Ashutosh Mishra
wrote:
> I am creating an api to get data and images from django model to excel
> sheet ,how can i do that,someone please help
I am creating an api to get data and images from django model to excel
sheet ,how can i do that,someone please help me.
--
You received this message because you are subscribed to the Google Groups
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, s