If you have the following symptom: You use Django and Phusion Passenger in at least version 4. A specific request is waiting forever. Restarting apache has no effect.
Django
3 posts
Django does come with a convenient database abstraction layer (DBAL) but unfortunately this DBAL is not very talkative. In case you get an error messages along the lines of ValueError: "<FooClass>" needs to have a value for field "fooclass" before this many-to-many relationship can be used.
The post_save hook from django.db.models.signals is executed right after the parent object has been stored in the database. As there is no hook for creation of updates of dependent objects, you have several alternatives: Attach to the post_save hook of your dependent model. This may work for all cases, where […]