thauber / django-schedule

A calendaring app for Django. It is now stable, Please feel free to use it now. Active development has been taken over by bartekgorny.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Occurrence __init__ without event

iV1n5 opened this issue · comments

The Occurrence model's init set title and description starting from it's related Event. This is a problem if you try create an empty instance without any initial data. This happen for example while using an AdminInline.

Could you do something for that? If no event is provided, you shouldn't use it.
If you think i'm using the occurrence in the wrong way, can you suggest me how to handle this situation?

Thanks you very much.