something is wrong with my server(Django)

13 views
Skip to first unread message

Josiah Umezurike

unread,
May 6, 2019, 7:32:16 PM5/6/19
to Django users

Guy.!

I am deep trouble. My application is no longer able to login and more so, no new user can even register. I am not sure how to revert the Django setting in the project. I am not the one that built the project I inherited it. When I run

python3 manage.py runserver


Performing system checks...


System check identified no issues (0 silenced).

May 06, 2019 - 22:07:56

Django version 1.11.7, using settings 'lokdon_project.settings'

Starting development server at http://127.0.0.1:8000/

Quit the server with CONTROL-C.

****************************************************


Show that server kicks start but my application works not.

My project path is not very clearly inserted in with the wsgi.py.

settings.py could also have a problem in it. I am not too sure off these.

I am in need of help here any assistance will be compensated dearly.


Django_err.png

Django_android.jpg

Thanks.

Sundararajan Seshadri

unread,
May 7, 2019, 9:37:51 AM5/7/19
to Django users
Don't panic.

FIrst: when you are running it in local server mode, the wsgi.py file is of no consequence. Only Settings.py is important. Do you see that? If your main app (where the manage.py is available) is called as xx then the settings.py should be within the sub-directory of this file, also called as xx.

In settings.py, see if there is a statement called 

DEBUG=True

if the line does not exist introduce it. If the value is something else, change it to True. 

Now when you enter 'localhost:8000' in the browser, you will have some useful info as an error occurs. At that point, also look at the console (from where you ran the server) if there is any additional info.

If the above process does not solve your problem, specify exactly what is happening.

Good luck.

============================================================

Sundararajan Seshadri

unread,
May 7, 2019, 9:40:39 AM5/7/19
to Django users
Update to my earlier answer:

Your project is called lokdon_project. Your settings.py should be in a sub-directory (also) called as lokdon_projec  below this directory.
--------------------------------------------------------------------- 

On Tuesday, May 7, 2019 at 5:02:16 AM UTC+5:30, Josiah Umezurike wrote:
Reply all
Reply to author
Forward
0 new messages