Jump to content

Recommended Posts

Posted

Hi sohamb, I have followed instructions which they mentioned. However it shows 500 error. Please check it once.

 

Url: apitunion.com

 

Regards,

Mallikarjuna bestha.

Posted

Hi sohamb, I have followed instructions which they mentioned. However it shows 500 error. Please check it once.

 

Url: apitunion.com

 

Regards,

Mallikarjuna bestha.

Posted

In your .htaccess file you have this

RewriteRule ^(.*)$ hello/dispatch.wsgi/$1 [QSA,PT,L]
and according to the guide it should be

RewriteRule ^(.*)$ hello/hello/dispatch.wsgi/$1 [QSA,PT,L]
Posted

Hi Krydos, I have updated. Access file as per instructions. Still the django opening page not displayed. It shows the folder .Please let me know any update required. Please help.

 

Regards,

Mallikarjuna bestha

Posted

You have all your files in the wrong directory. Your files look like this

$ tree ../hello/
../hello/
├── asgi.py
├── dispatch.wsgi
├── __init__.py
├── __pycache__
│   ├── __init__.cpython-37.pyc
│   ├── settings.cpython-37.pyc
│   ├── urls.cpython-37.pyc
│   └── wsgi.cpython-37.pyc
├── settings.py
└── urls.py
and according to the guide they're supposed to look like this

$ tree ../hello/
../hello/
├── db.sqlite3
├── hello/
│   ├── __init__.py
│   ├── __pycache__/
│   │   ├── ...
│   ├── settings.py
│   ├── urls.py
│   └── wsgi.py
└── manage.py
Posted

You seem to be really struggling with this, and I agree setting up Django can be rather complicated. I went ahead and set up a functional test django site at http://apitunion.com/ for you. Feel free to familiarize yourself with the files and their contents. Then make small changes and test frequently. If you break something revert your last change, and figure out what went wrong. Let us know if you need any help.

Guest
This topic is now closed to further replies.
×
×
  • Create New...