I have deployed OLS Django from the AWS Marketplace. but it is not clear to me how I do apply my code changes.
I've committed the default `demo` project into private github repo and push changes from my local computer.
git pull works sometimes. sometimes it not works. I can't get the system. what the proper workflow for python developer?
graceful restart doesn't help at all.
besides that I'm catching the error:
Traceback (most recent call last):
File "/usr/local/lsws/Example/html/demo/demo/wsgi.py", line 16, in <module>
application = get_wsgi_application()
File "/usr/local/lsws/Example/html/lib/python3.8/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
django.setup(set_prefix=False)
File "/usr/local/lsws/Example/html/lib/python3.8/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lsws/Example/html/lib/python3.8/site-packages/django/apps/registry.py", line 83, in populate
raise RuntimeError("populate() isn't reentrant")
RuntimeError: populate() isn't reentrant
AWS EC2 instance reboot doesn't help as well.
what am I doing wrong? or maybe OLS Django just not meant for that case?
I've committed the default `demo` project into private github repo and push changes from my local computer.
git pull works sometimes. sometimes it not works. I can't get the system. what the proper workflow for python developer?
graceful restart doesn't help at all.
besides that I'm catching the error:
Traceback (most recent call last):
File "/usr/local/lsws/Example/html/demo/demo/wsgi.py", line 16, in <module>
application = get_wsgi_application()
File "/usr/local/lsws/Example/html/lib/python3.8/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
django.setup(set_prefix=False)
File "/usr/local/lsws/Example/html/lib/python3.8/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lsws/Example/html/lib/python3.8/site-packages/django/apps/registry.py", line 83, in populate
raise RuntimeError("populate() isn't reentrant")
RuntimeError: populate() isn't reentrant
AWS EC2 instance reboot doesn't help as well.
what am I doing wrong? or maybe OLS Django just not meant for that case?