Good idea.
Thank you very much :-)
Xuqing
On Dec 15, 7:19 pm, Daniel Roseman wrote:
> On Dec 15, 7:02 am, Xuqing Kuang wrote:
>
>
>
> > Hi, all.
>
> > Are there any way could keep a attribute new set to a item in QuerySet
> > object ?
>
> > For example:
>
> > >>> tcs = TestCase.objects.filter(
On Dec 15, 7:02 am, Xuqing Kuang wrote:
> Hi, all.
>
> Are there any way could keep a attribute new set to a item in QuerySet
> object ?
>
> For example:
>
> >>> tcs = TestCase.objects.filter(case_id__in = [1123, 1124, 1125])
> >>> tcs
>
> [, , MigrateOneWayDisk>]>>> tc = tcs[1]
> >>> setattr(tc,
2 matches
Mail list logo