I am currently developing a website that is solely built using Django. I am interested in having either of two images displayed under a certain condition, similar to the example shown in this VueJs demonstration.
Is it achievable without utilizing a frontend framework? If so, what would be the most effective method to accomplish this task?