Does the stack trace mention a template variable name?  It looks like a
template variable that is expected to have integer value is not properly
initialized.

Regards,

Aldian Fazrihady

On Fri, 21 Jun 2019, 22:42 Lutalo Bbosa joseph, <bbos...@gmail.com> wrote:

> i as well have a models.py file for carts, and products which is attached,
> when i try to search for a solution on stack overflow,all solutions insist
> on problem with integers and strings in my code. though these were passed
> solutions and not too similar to this one
>
> On Fri, Jun 21, 2019 at 6:35 PM Lutalo Bbosa joseph <bbos...@gmail.com>
> wrote:
>
>> on pressing remove the product is supposed to be removed from the cart,
>> but it instead displays an error
>>
>> On Fri, Jun 21, 2019 at 6:34 PM Lutalo Bbosa joseph <bbos...@gmail.com>
>> wrote:
>>
>>> well here is apic of what am doing,
>>>
>>> On Fri, Jun 21, 2019 at 6:20 PM Ahmed Ishtiaque <ahmedisht...@gmail.com>
>>> wrote:
>>>
>>>> Hi Lutalo,
>>>>
>>>> Could you also share the stacktrace of the error and when it happens?
>>>> It would help us decipher what's really going on in relation to what you're
>>>> trying to do.
>>>>
>>>> Best,
>>>> Ahmed
>>>>
>>>> On Fri, Jun 21, 2019 at 8:33 AM Lutalo Bbosa joseph <bbos...@gmail.com>
>>>> wrote:
>>>>
>>>>> hi guys, am working on an ecommerce system, which has cart as an app,
>>>>> but i keep on getting this error and cant move on any help, here is my
>>>>> views.py ,
>>>>> from the commandline the error is on line 42
>>>>>
>>>>> --
>>>>> 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 post to this group, send email to django-users@googlegroups.com.
>>>>> Visit this group at https://groups.google.com/group/django-users.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/django-users/CAMz%3Dh%3DTQikVLrVTnwQse3r5P-rxCvaHFRP-qnYWrYSWGHPSGgw%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/django-users/CAMz%3Dh%3DTQikVLrVTnwQse3r5P-rxCvaHFRP-qnYWrYSWGHPSGgw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>> --
>>>> 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 post to this group, send email to django-users@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/django-users.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/CAKizqR54L-dC46wx--DD4BL%2Biko_itWk-fPs%2B9haibZJ_LnTvA%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAKizqR54L-dC46wx--DD4BL%2Biko_itWk-fPs%2B9haibZJ_LnTvA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
> 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 post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMz%3Dh%3DR7b_mpnBw_xLKW%2BX5jyVk4CKXm7jwVG37R8BsSPQQegg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAMz%3Dh%3DR7b_mpnBw_xLKW%2BX5jyVk4CKXm7jwVG37R8BsSPQQegg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN7EoAbag_or9TPOb-KiYCmaD%2B4DDyG%2ByUfU%3DPzVRfacU09GNg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to