d120 / pyofahrt

Verwaltungssoftware für die Erstsemesterfahrt
GNU Affero General Public License v3.0
4 stars 1 forks source link

unable to create new ofahrt objects #112

Closed pollti closed 6 years ago

pollti commented 6 years ago

When trying to create a new Ofahrt object the website shows error 500. The logs say that it's not possible to create a new active ofahrt object while an old object is still active, but there's no possibility to make old objects inactive.

pollti commented 6 years ago

https://github.com/d120/pyofahrt/blob/master/ofahrtbase/models.py#L48 must not be unique (we should be able to create more than one inactive project and should probably be visible in https://github.com/d120/pyofahrt/blob/master/ofahrtbase/admin.py#L13.