openHBP
openHBP
Yesssss thanks a lot for this great job! Fed up with errors like: - ImportError: cannot import name 'urlquote' from 'django.utils.http' - ModuleNotFoundError: No module named 'django.utils.six'
That's what I did and it works perfect! Thanks :-)
Would it be possible to integrate this please?
on Linux, you can use systemd. More info https://stackoverflow.com/questions/65241859/using-django-q-in-production
You can serve your django application with Gunicorn also served by systemd. You just need to setup 2 services file in /etc/systemd/system: 1 to **run the server** as explained [here](https://www.alibabacloud.com/blog/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04_594319)...
The template is indeed in `my_app/templates/my_app/my_model_structure.html` where `my_app` is `msg`  Content of `msg.models.py` ```py from cms.models.fields import PlaceholderRelationField from cms.utils.placeholder import get_placeholder_from_slot ... short_text3 = PlaceholderRelationField() ... def my_placeholder(self):...
I get the error after the double click on the page to modify the content. The "double click popup" displays on mouseover on the Placeholder text after a click on...
I checked again all pieces of code and I still get stuck with the "stucture template". I did [add the slot to the model](https://docs.django-cms.org/en/latest/how_to/01-placeholders.html#adding-the-slots-to-the-model) I did [add the structure mode...
Thanks for your quick answer. odkdata2 is an other app than the one concerned by `PlaceholderRelationField` which is `msg`. So the template file should be located in `/source/msg/templates/msg`, which is...
It WORKS! In fact my template file `msgdet_model_stucture.html `was missing a r msgdet_model_st**R**ucture.html I'm really really sorry about that! And sorry for the time spent on that. This feature is...