amschaal / django-ezreg

4 stars 3 forks source link

Friendly URL Conflicts? #124

Closed monicabritton closed 5 years ago

monicabritton commented 5 years ago

Is there anything that checks to make sure that the Friendly URL for an event is unique and issues an error message? I think that may be what caused my problem this afternoon....

amschaal commented 5 years ago

No, that should not be possible. There is a unique constraint on that field: https://github.com/amschaal/django-ezreg/blob/master/ezreg/models.py#L53