# Django is rendering same for different html page

**URL:** <https://forum.djangoproject.com/t/django-is-rendering-same-for-different-html-page/24012>\
**Category:** Templates & Frontend\
**Created:** [September 21, 2023, 4:25am UTC](https://forum.djangoproject.com/t/django-is-rendering-same-for-different-html-page/24012 "2023-09-21T04:25:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![inviul](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/inviul/32/16041_2.png) [@inviul](https://forum.djangoproject.com/u/inviul)\
**Post date:** [September 21, 2023, 4:25am UTC](https://forum.djangoproject.com/t/django-is-rendering-same-for-different-html-page/24012/1 "2023-09-21T04:25:47Z")

</div>

I have a page (model.html), that gets outputted based on URL parameters. At the bottom I set the if-else condition and based on the if-else parse it has href to another page with different view.

Now this new page (end.html) from the bottom link at model.html is still rendering view of model.html, instead of rendering the view of end.html file

Everything is perfectly coupled.

Please help

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [September 21, 2023, 10:53am UTC](https://forum.djangoproject.com/t/django-is-rendering-same-for-different-html-page/24012/2 "2023-09-21T10:53:17Z")

</div>

You’re going to need to provide a lot more details about this. Please post the view(s) and the template(s) involved.

When posting code, templates, error messages and tracebacks here, enclose the code (or template) between lines of three backtick - ` characters. This means you’ll have a line of ```, then your code, then another line of ```. This forces the forum software to keep your code (or template) properly formatted.
