Ryan Castner

Results 53 comments of Ryan Castner

Ok so I did some testing and digging into this. If you have a model with the following: ```python class MyModel(models.Model): null_blank_charfield = models.CharField(null=True, blank=True, max_length=20) ``` And you register...

Let me test this out with admin forms

So an admin form saving a `blank=True, null=True` charfield?

sorry @agfunder I haven't had time to look into this yet, once I fully understand the issue I will be able to answer, the part I am struggling with right...

Hey @eriktelepovsky , this PR came to a bit of stand-still because of how to proceed with the implementation, the core issue is that if we proceed with this implementation...

I would make your request add add `import pdb; pdb.set_trace()` right above ```python if hasattr(request, 'user') and hasattr(request.user, 'is_authenticated') and request.user.is_authenticated(): set_actor = curry(self.set_actor, user=request.user, signal_duid=threadlocal.auditlog['signal_duid']) pre_save.connect(set_actor, sender=LogEntry, dispatch_uid=threadlocal.auditlog['signal_duid'], weak=False)...

see my comment to help debug

what is the username of request.user?

Very strange, it seems like all the stuff to set the actor is happening correctly, I am not sure why it is not being saved. My only advice is to...