Jump to content

[Solved] django python web application required "python setup app"


mallika1

Recommended Posts

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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