Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7735069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:24:28+00:00 2026-06-01T07:24:28+00:00

I followed https://docs.djangoproject.com/en/dev/ref/contrib/flatpages/ and I created a flatpage using my own template in http://localhost:8000/about-me/

  • 0

I followed https://docs.djangoproject.com/en/dev/ref/contrib/flatpages/ and
I created a flatpage using my own template in http://localhost:8000/about-me/ and it works fine.
But when i’ve pushed it into heroku and reproduced to create one page, the server returns Internal Server Error

the Server log :

Traceback (most recent call last):

File “/app/lib/python2.7/site-packages/django/core/servers/basehttp.py”, line 283, in run
self.result = application(self.environ, self.start_response)

File “/app/lib/python2.7/site-packages/django/core/handlers/wsgi.py”, line 272, in call
response = self.get_response(request)

File “/app/lib/python2.7/site-packages/django/core/handlers/base.py”, line 153, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())

File “/app/lib/python2.7/site-packages/django/core/handlers/base.py”, line 218, in handle_uncaught_exception
return callback(request, **param_dict)

File “/app/lib/python2.7/site-packages/django/utils/decorators.py”, line 93, in _wrapped_view
response = view_func(request, *args, **kwargs)

File “/app/lib/python2.7/site-packages/django/views/defaults.py”, line 30, in server_error
t = loader.get_template(template_name) # You need to create a 500.html template.

File “/app/lib/python2.7/site-packages/django/template/loader.py”, line 157, in get_template
template, origin = find_template(template_name)

File “/app/lib/python2.7/site-packages/django/template/loader.py”, line 138, in find_template
raise TemplateDoesNotExist(name)

TemplateDoesNotExist: 500.html

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T07:24:30+00:00Added an answer on June 1, 2026 at 7:24 am

    The stack trace tells me that it can’t find your 500.html template. Maybe if you give it one ti will clear up the error message to what the actual problem is.

    Is the domain correct for the Site ID used by your flatpage? For instance if locally you say you site is the “localhost”, but in heroku if it’s served by “dev.internalnet.example” domain, that could cause issues.

    Also, try setting DEBUG=True in settings.py, hit the page and you should get a fancy page with the exact stack trace causing the issue (and then it won’t need to look for a 500.html template, although you should have one).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have followed the Poll tutorial on http://docs.djangoproject.com . I would like to know
I'm using this one: https://github.com/pinax/django-notification/blob/master/docs/usage.txt So, I followed all the steps. from notification import
I followed the guidelines presented in the Android docs (http://developer.android.com/guide/practices/screens_support.html) and created image buttons
I've followed this: https://dev.twitter.com/docs/auth/creating-signature to the end but I can't find how to encode
I've followed the instructions on http://developers.facebook.com/docs/api#authorization using the standard PHP library. Everything works fine
I followed this tutorial: https://github.com/EllisLab/CodeIgniter/wiki/PDF-generation-using-dompdf However, I can't seem to set the path right.
I'm using this dialog: http://docs.jquery.com/UI/Dialog To open dialog I do it this way: $('a.openModal').live(click,
I have my moodle setup using this guide ( Ubuntu 11.04 ) http://docs.moodle.org/dev/Install_Moodle_On_Ubuntu_with_Nginx/PHP-fpm I
I followed http://developers.facebook.com/docs/authentication and got the access_token of a user. Now, I want to
I have followed this tutorial http://netbeans.org/kb/docs/websvc/gs-axis.html and successfully created the web service. When i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.