Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run the first app #6

Open
wegel opened this issue Mar 17, 2019 · 3 comments
Open

Can't run the first app #6

wegel opened this issue Mar 17, 2019 · 3 comments

Comments

@wegel
Copy link

wegel commented Mar 17, 2019

Hi,

When I follow the instructions at https://pyforms-web.readthedocs.io/en/v4/getting-started/first-app.html and I hit http://localhost:8000, I still get the Pyforms demo app. What I'm I doing wrong? The structure is:

.
├── db.sqlite3
├── local_settings.py
├── lockfile.txt
├── manage.py
├── module
│   ├── apps
│   │   ├── __init__.py
│   │   └── site_crawl.py
│   ├── __init__.py
└── FirstProject
    ├── __init__.py
    ├── settings.py
    ├── urls.py
    └── wsgi.py

Also, I'm getting this when I hit http://localhost:8000, is it normal?

System check identified no issues (0 silenced).
March 17, 2019 - 06:51:24
Django version 2.1.7, using settings 'FirstProject.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Performing system checks...

System check identified no issues (0 silenced).
March 17, 2019 - 06:51:50
Django version 2.1.7, using settings 'FirstProject.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Traceback (most recent call last):
  File "/project/venv/lib/python3.6/site-packages/orquestra/apps_manager.py", line 66, in search_4_plugins
    apps_module = __import__( apss_modulename, fromlist=[''] )
ModuleNotFoundError: No module named 'pyforms_web.web.apps'
Traceback (most recent call last):
  File "/project/venv/lib/python3.6/site-packages/orquestra/apps_manager.py", line 66, in search_4_plugins
    apps_module = __import__( apss_modulename, fromlist=[''] )
ModuleNotFoundError: No module named 'jfu.apps'
Traceback (most recent call last):
  File "/project/venv/lib/python3.6/site-packages/orquestra/apps_manager.py", line 66, in search_4_plugins
    apps_module = __import__( apss_modulename, fromlist=[''] )
ModuleNotFoundError: No module named 'sorl.thumbnail.apps'
[17/Mar/2019 06:51:55] "GET / HTTP/1.1" 200 1322
@zerololcats
Copy link

zerololcats commented Mar 22, 2019

Having the same problem. I'm salivating here trying to get this to work and not have to deal with frontend web stuff and just write python code, but I'm embarrassingly stuck at level 0. I opened a StackOverflow question, but no takers yet. :(

[]https://stackoverflow.com/questions/55284804/pyforms-web-sample-now-working-only-djangos-default-site-showing-up

@mcbianconi
Copy link

I managed to make it work putting the widget in the apps.py of my module, instead of the apps folder - I`m not and expert, just spent the whole day debugging it, so I dont know if it will work as expected

@ahuismaneiffel
Copy link

Sigh.... any support would be appreciated. cant get it to work either. the library seems promising though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants