Re: to add counter to an object of a table

2020-02-10 Thread maninder singh Kumar
You would obviously want a counter to use in the template.  And I presume a
for loop will not do ?


[image: --]

Maninder Kumar
[image: http://]about.me/maninder.s.kumar





On Mon, Feb 10, 2020 at 2:33 PM Bruckner de Villiers <
bruckner.devilli...@gmail.com> wrote:

> Brajesh,
>
> I presume that you want the counter to auto-increment.  The gurus are
> recommending AutoField, but I can’t get it to work yet and the Django docs
> are a bit vague on the subect.
>
> Good luck.
>
>
>
> Bruckner de Villiers
>
> 083 625 1086
>
>
>
> *From: * on behalf of BRAJESH KUMAR <
> brajesh.cal...@gmail.com>
> *Reply to: *
> *Date: *Sunday, 09 February 2020 at 20:45
> *To: *"django-users@googlegroups.com" 
> *Subject: *to add counter to an object of a table
>
>
>
> Hi ,
>
> I have a product details db class with few details for each object of that
> class, need help to add a counter.
>
>
>
> Thanks,
>
> Brajesh
>
>
>
>
>
> Sent from Mail  for
> Windows 10
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/5e405315.1c69fb81.6e215.a4ec%40mx.google.com
> 
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3467A551-64FD-4D20-9174-3C4667A1224B%40gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABOHK3RmmiGw5aey4CAdvsoj8d2iqoj%3DED2RxZa8WD%3Dyq7mRpQ%40mail.gmail.com.


Re: to add counter to an object of a table

2020-02-10 Thread Bruckner de Villiers
Brajesh,

I presume that you want the counter to auto-increment.  The gurus are 
recommending AutoField, but I can’t get it to work yet and the Django docs are 
a bit vague on the subect.

Good luck.

 

Bruckner de Villiers

083 625 1086

 

From:  on behalf of BRAJESH KUMAR 

Reply to: 
Date: Sunday, 09 February 2020 at 20:45
To: "django-users@googlegroups.com" 
Subject: to add counter to an object of a table

 

Hi ,

I have a product details db class with few details for each object of that 
class, need help to add a counter.

 

Thanks,

Brajesh

 

 

Sent from Mail for Windows 10

 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5e405315.1c69fb81.6e215.a4ec%40mx.google.com.


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3467A551-64FD-4D20-9174-3C4667A1224B%40gmail.com.


Re: to add counter to an object of a table

2020-02-10 Thread onlinejudge95
Can you be more specific and provide more context about the same

On Mon, Feb 10, 2020 at 12:15 AM BRAJESH KUMAR 
wrote:

> Hi ,
>
> I have a product details db class with few details for each object of that
> class, need help to add a counter.
>
>
>
> Thanks,
>
> Brajesh
>
>
>
>
>
> Sent from Mail  for
> Windows 10
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/5e405315.1c69fb81.6e215.a4ec%40mx.google.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAD%3DM5eR7FxGFfd4T7psq6rtTNoD8FyYjaeKoozUDeq52heWk%3DA%40mail.gmail.com.


to add counter to an object of a table

2020-02-09 Thread BRAJESH KUMAR
Hi ,I have a product details db class with few details for each object of that class, need help to add a counter. Thanks,Brajesh  Sent from Mail for Windows 10 



-- 
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5e405315.1c69fb81.6e215.a4ec%40mx.google.com.