Django RequestFactory() secure not working

2014-05-13 Thread jvc26
Could anyone explain what is going wrong here: factory = RequestFactory() factory.post('/', secure=True).is_secure() Surely that should be True? J -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receivi

Foreign Key relationships and On Delete

2013-02-19 Thread jvc26
Hi, quick question: When I delete an object with foreign key relations for example, a User, with several related objects, are these child objects deleted at a low level, or via their delete() methods? Essentially, I am overriding delete() to implement a soft-delete with setting flags on the obj