Bug 1265112 - Can't access django quickstart with python-3.3/python2.7
Summary: Can't access django quickstart with python-3.3/python2.7
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Templates
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Timothy Williams
QA Contact: XiuJuan Wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-22 07:27 UTC by XiuJuan Wang
Modified: 2015-11-05 15:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-05 15:26:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description XiuJuan Wang 2015-09-22 07:27:35 UTC
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):
INT(devenv-5642)

How reproducible:
always

Steps to Reproduce:
1.Create django33 quickstart
rhc app create django33 python-3.3 --from-code=https://github.com/openshift/django-example  
2.Access app.

3.

Actual results:
# curl http://django33-xiuwang.int.rhcloud.com/ 
<h1>Not Found</h1><p>The requested URL / was not found on this server.</p>

Expected results:
Could access django33 app.

Additional info:

Comment 1 Vu Dinh 2015-10-22 20:18:41 UTC
Tested on the INT 5674 and the bug appears to be fixed already.

Comment 2 XiuJuan Wang 2015-10-27 09:45:54 UTC
Test in STG(devenv-stage_1188)and INT, still could reproduce this bug.
Are you using this quickstart https://github.com/openshift/django-example?

Comment 3 Vu Dinh 2015-11-05 15:23:09 UTC
Hi,

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.


Note You need to log in before you can comment on or make changes to this bug.