Re: simple command line ./manage.py shell puzzle

2022-04-22 Thread cseb...@gmail.com
After some more investigating. All the issues seem to be because of the FOR LOOP. For some strange reason, when I pipe in the Python code you can't have a for loop that way. cs On Friday, April 22, 2022 at 2:00:17 AM UTC-5 Antonis Christofides wrote: > It works fine here. I entered your comm

Re: simple command line ./manage.py shell puzzle

2022-04-22 Thread cseb...@gmail.com
Antonis Thanks. Here are the answers to your questions... OS: Ubuntu 20.04.3 LTS Django version: 2:2.2.12-1ubuntu0.11 Django shell version: Python 3.8.10 Chris On Friday, April 22, 2022 at 2:00:17 AM UTC-5 Antonis Christofides wrote: > It works fine here. I entered your commands exactly and

Re: Django

2022-04-22 Thread Derek
from app2.models import ThatModel (assuming both apps are part of the same project) On Thursday, 21 April 2022 at 21:47:18 UTC+2 farid...@gmail.com wrote: > Please how do I import a model from another app. Thanks, please someone > should help me out > -- You received this message because you

Re: problem in reloading project files with UWSGI for Django app

2022-04-22 Thread Jason
restart uwsgi? On Friday, April 22, 2022 at 6:59:28 AM UTC-4 agnese.c...@gmail.com wrote: > Good morning, today i am facing some issues with my django app at > word-b.com. > The backend is giving me 404 on a reste resource that i have just fixed. > I have uploaded the files in production just no

problem in reloading project files with UWSGI for Django app

2022-04-22 Thread Agnese Camellini
Good morning, today i am facing some issues with my django app at word-b.com . The backend is giving me 404 on a reste resource that i have just fixed. I have uploaded the files in production just now, thinking that the uwsgi daemon would reload them on demand due to the interpreted nature of pytho