RE: Re: Error with filter queryset

2020-02-09 Thread BRAJESH KUMAR
I have a local host website working with some page showing few details of one of many products with a data associated for usage like zoom car rental. Facing issues while trying to add a counter and have it updated by day. Eg: if I have a product a available 10 units for next 10 days and it gets booked for one day 3 units, the counter should update. Need help for the same. 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/5e404fcb.1c69fb81.c5c43.951d%40mx.google.com.


Re: Re: Error with filter queryset

2020-02-09 Thread maninder singh Kumar
have you tried "OneToOneField" ?
I am wondering about a many to one field to User


[image: --]

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





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

> I have a local host website working with some page showing few details of
> one of many products with a data associated for usage like zoom car rental.
>
>
>
> Facing issues while trying to add a counter and have it updated by day.
>
>
>
> Eg: if I have a product a available 10 units for next 10 days and it gets
> booked for one day 3 units, the counter should update.
>
>
>
> Need help for the same.
>
>
>
> 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/5e404fcb.1c69fb81.c5c43.951d%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/CABOHK3QUBBah9f%2BoSRD2Ckw5J93EROExeyjjeweG3uQaQSVaGg%40mail.gmail.com.