django-pghistory icon indicating copy to clipboard operation
django-pghistory copied to clipboard

MiddlewareEvents model should allow nullable context

Open lokhman opened this issue 9 months ago • 0 comments

Currently, user and url proxy fields in MiddlewareEvents are non-nullable, which makes the admin page display only those events that have both values in the context metadata.

The counter at the bottom page of the change list view displays the correct number of entries though, which makes this issue a bug.

We need to add null=True to both fields to display all events as expected for this model.

lokhman avatar May 09 '24 15:05 lokhman