juntossomosmais / django-outbox-pattern

A django application to make it easier to use the transactional outbox pattern
MIT License
50 stars 7 forks source link

Error when accessing admin page and missing headers #28

Closed eltonjncorreia closed 1 year ago

eltonjncorreia commented 1 year ago

Hello there!

I encountered an error when trying to access the admin page of menu Django Admin > DJANGO_OUTBOX_PATTERN > Receiveds. The error is caused by missing headers that are required for a successful request.

After examining the code, I suspect that the issue may be related to the model field accepting null values, as shown in line 52 of the models.py file. Ideally, the property should exist here, as shown in line 61 of the same file.

However, if the header doesn't exist, it will raise an AttributeError.