# Server Error (500)

**URL:** <https://community.fly.io/t/server-error-500/20270>\
**Category:** Django\
**Created:** [June 8, 2024, 1:40pm UTC](https://community.fly.io/t/server-error-500/20270 "2024-06-08T13:40:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gleb](https://avatars.discourse-cdn.com/v4/letter/g/f4b2a3/32.png) [@Gleb](https://community.fly.io/u/Gleb)\
**Post date:** [June 8, 2024, 1:40pm UTC](https://community.fly.io/t/server-error-500/20270/1 "2024-06-08T13:40:03Z")

</div>

Hello! I deployed a Django app and at first everything ran smoothly. Whole project consists of 4 apps which work perfectly fine with each other. After I deployed another app, which has no models, only views, which work with models of other apps, I am getting Server Error 500. I did create superuser, I tried to makemigrations and migrate but nothing was found. Logs do not show anything that could help. Localhost works perfectly fine. Please help!  
UPD. If I change Debug to True, everything is working, but when I change to False I get the same error.

---

<div class="post-metadata">

**Author:** ![katia](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/katia/32/15585_2.png) [@katia](https://community.fly.io/u/katia)\
**Post date:** [June 11, 2024, 10:27am UTC](https://community.fly.io/t/server-error-500/20270/2 "2024-06-11T10:27:54Z")

</div>

> [@Gleb](#):
>
> If I change Debug to True, everything is working, but when I change to False I get the same error.

@Gleb there is not a lot of information here but since it stops working when DEBUG is False, it might be related to trailing slash.

You can review this [answer](https://forum.djangoproject.com/t/django-view-doesnt-work-at-all-after-setting-debug-false/27317/4) to see if it resolves your issue. 🙂
