Export do abstraktů (soustředění) #61

Merged
zelvuska merged 2 commits from sbornicek into master 2024-10-10 09:08:10 +02:00
Showing only changes of commit e250f1d5dc - Show all commits

View file

@ -77,6 +77,10 @@ class Soustredeni(SeminarModelBase):
#return reverse('seminar_soustredeni', kwargs={'pk': self.id})
return reverse('seminar_seznam_soustredeni')
def admin_url(self):
model_name = self.__class__.__name__.lower()
return reverse('admin:soustredeni_{}_change'.format(model_name), args=(self.id, ))
@reversion.register(ignore_duplicates=True)
class Soustredeni_Ucastnici(SeminarModelBase):