Red Hat Bugzilla – Bug 1265112
Can't access django quickstart with python-3.3/python2.7
Last modified: 2015-11-05 10:26:32 EST
Description of problem:
When access django33, met ‘The requested URL / was not found on this server.’ 404 error.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create django33 quickstart
rhc app create django33 python-3.3 --from-code=https://github.com/openshift/django-example
# curl http://django33-xiuwang.int.rhcloud.com/
<h1>Not Found</h1><p>The requested URL / was not found on this server.</p>
Could access django33 app.
Tested on the INT 5674 and the bug appears to be fixed already.
Test in STG（devenv-stage_1188）and INT, still could reproduce this bug.
Are you using this quickstart https://github.com/openshift/django-example?
I have just verified with the owner of django-example repo and confirmed that this is not a bug. The django-example repo is an empty one which means it only has an empty Django application and it will not show anything when you access the URL of the application as it doesn't have any html files. This is intentional as you have to create your own application (as go through the Django tutorial). However, if you go through the create user account step on the read me file, the /admin is functional as it's the only thing accessible when an empty application is created.