django-scheduler
django-scheduler copied to clipboard
SCHEDULER_ADMIN_FIELDS does not display fields from SCHEDULER_BASE_CLASSES
I added the following to settings.py:
SCHEDULER_BASE_CLASSES = {
'Event': ['records.models.CalendarEventAbstract']
}
SCHEDULER_ADMIN_FIELDS = { 'Event': [('testfield',)]
}
where testfield is a field in CalendarEventAbstract. I then traversed to http://127.0.0.1:8000/admin/schedule/event/1/change/
. Once there (it's the event detail/edit view in the admin) I do not see testfield. I'm not sure if I'm supposed to run makemigrations or something but that didn't work either (I don't think abstract models are detected as changes in models anyway). Shouldn't I expect to see testfield in /admin?
![image](https://user-images.githubusercontent.com/15257781/70397257-649e1980-19d6-11ea-867e-728f93085c7c.png)
is SCHEDULER_BASE_CLASSES removed since 0.8.7? https://github.com/llazzaro/django-scheduler/blob/develop/CHANGELOG#L73