Hi,
In my application I have the date of a talk and I want to compare this against the current date to see whether it should display View Attendance Record in my html page. What I am thinking is:
if (dateInDB <= currentDate)
display View Attendance Record
else
don't display view attendance record
How would i convert this to code? Would I have to do this in the HTML or in an external file that the HTML accesses. If i was doing this in JSPs and Servlets I would make the comparison when it pulls out the date from the database and then set a boolean true but I don't know how to do this in django.
Thanks in Advance,
Dean