# DRF and Django templates

**URL:** <https://forum.djangoproject.com/t/drf-and-django-templates/31304>\
**Category:** Templates & Frontend\
**Created:** [May 19, 2024, 6:55am UTC](https://forum.djangoproject.com/t/drf-and-django-templates/31304 "2024-05-19T06:55:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [May 19, 2024, 2:26pm UTC](https://forum.djangoproject.com/t/drf-and-django-templates/31304/2 "2024-05-19T14:26:46Z")

</div>

> [@oulaKhaled](#):
>
> should I create tow separate apps in my project to do it…

You can find a few discussions here that talk about whether you should create one app or many.  
See

- [Why do we need apps?](https://forum.djangoproject.com/t/why-do-we-need-apps/827)
- [Project organization- when is something a separate app?](https://forum.djangoproject.com/t/project-organization-when-is-something-a-separate-app/1247)
- [Two separate Django apps require the same models](https://forum.djangoproject.com/t/two-separate-django-apps-require-the-same-models/22069)

for some perspectives on this.

However, I’m curious as to why you’re trying to build it this way. For the most part, DRF is intended to produce JSON responses for your custom front-end to consume.

If you’re going to be rendering Django templates, why are you using DRF?

Or, if you’re building this around DRF, what’s the purpose of the Django templates?

---

_[View the full topic](https://forum.djangoproject.com/t/drf-and-django-templates/31304)._
