You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I had to adjust the settings.py to get the webshop example running.
It seems the picocss middleware is missing. Additionally, a line further down was duplicated.
...
MIDDLEWARES= [
'lona_picocss.middlewares.LonaPicocssMiddleware',
]
...
FRONTEND_TEMPLATE=lona_picocss.settings.FRONTEND_TEMPLATE# one removed
...
I also had to add the demo directory to the Python path to ensure the modules were found correctly. Unfortunately, running the Makefile on Windows didn't work for me, even after adjusting all the paths.
After that, I was able to start everything using lona run-server --project-root="webshop" --settings="settings.py".
The text was updated successfully, but these errors were encountered:
Hi,
I had to adjust the
settings.py
to get the webshop example running.It seems the picocss middleware is missing. Additionally, a line further down was duplicated.
I also had to add the
demo
directory to the Python path to ensure the modules were found correctly. Unfortunately, running the Makefile on Windows didn't work for me, even after adjusting all the paths.After that, I was able to start everything using
lona run-server --project-root="webshop" --settings="settings.py"
.The text was updated successfully, but these errors were encountered: