Remove extended models

This commit is contained in:
Alexandre Iooss 2022-01-30 10:53:58 +01:00
parent 3bc8a2b649
commit 8beedb3626
14 changed files with 66 additions and 155 deletions

View file

@ -7,7 +7,7 @@ from .models import Gallery, Photo
class GalleryDateView(LoginRequiredMixin):
queryset = Gallery.objects.filter(is_public=True)
date_field = 'extended__date_start'
date_field = 'date_start'
uses_datetime_field = False # Fix related object access
allow_empty = True