I have the this errore:
Exception Type: AttributeError Exception Value:
'list' object has no attribute 'name'
My the views.py:
def export_excel(request):
response = HttpResponse(mimetype='application/vnd.ms-excel;
charset="Shift_JIS"')
response['Content-Disposition'] = 'attachment;
Hello,
I want user, contact_date, contact_time of attendance and leavework objects
so, i use mata.fields of models
my the models:
class Staff(models.Model):
user = models.OneToOneField(User, null=False)
user_name = models.CharField(max_length=255)
first_kana = models.CharField(max_
On Friday, 16 May 2014 12:34:52 UTC+1, hito koto wrote:
>
> Hi,
>
> I would like to export the csv file as follows:
>
> No name
> date
> time of attendance
> time of leavework
> 01
> hito
> 2014/5/16 10:31:50 20:30
> 01
> hito
> 2014/5/16 10:56:23 20:30 01
> hito
> 2014/5/16 10:19:59 20:30
Hi,
I would like to export the csv file as follows:
No name
date
time of attendance
time of leavework
01
hito
2014/5/16 10:31:50 20:30
01
hito
2014/5/16 10:56:23 20:30 01
hito
2014/5/16 10:19:59 20:30 02
charry
2014/5/16 10:18:40 20:30 02
charry
2014/5/16 10:12:52 20:30 02
charry
2014/5
On Friday, 16 May 2014 10:40:50 UTC+1, hito koto wrote:
>
> Hello,
>
> I want to export csv from the two objects
> I have the erroe is here:
> Exception Type: AttributeError Exception Value:
>
> 'QuerySet' object has no attribute 'id'
>
>
>
>
> This is my the views.py :
>
> def export_excel(re
Hello,
I want to export csv from the two objects
I have the erroe is here:
Exception Type: AttributeError Exception Value:
'QuerySet' object has no attribute 'id'
This is my the views.py :
def export_excel(request):
response = HttpResponse(mimetype='application/vnd.ms-excel;
charset
6 matches
Mail list logo