Thank you for your help @coolguy..but my real problem lies in writing the code for “fee_remaining”, can you help me with that also..thanks Sent from Mail for Windows 10 From: coolguy In your return line of code, you are referring to context variable but I don't see you assigned any value to this context variable in your code. Or if you want to send three variables i.e. "fees", "total_fees" and "fee_remaining"... you need to send them separately like return render(request, 'website/students.html', {"fees": fees, "total_fees": total_fees, "fee_remaining": fee_remaining }) then use these variables on your students.html template. On Tuesday, September 8, 2020 at 12:21:21 PM UTC-4 dex9...@gmail.com wrote:
-- 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/22CCCFA9-83C9-45FF-A2E7-413F1221FE49%40hxcore.ol. |
- Help me with the view please Dexterr Jay
- Re: Help me with the view please coolguy
- RE: Help me with the view please fadhil alex
- Re: Help me with the view please coolguy
- Re: Help me with the view please coolguy
- Re: Help me with the view please coolguy
- Re: Help me with the view please coolguy
- RE: Help me with the view please fadhil alex
- Re: Help me with the view please coolguy
- Re: Help me with the view please coolguy
- Re: Help me with the view please coolguy
- RE: Help me with the view please fadhil alex
- Re: Help me with the view please coolguy