diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/utils/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/utils/views.py b/app/utils/views.py index 8351ae9..87a69bf 100644 --- a/app/utils/views.py +++ b/app/utils/views.py @@ -87,7 +87,7 @@ def insert_image(request): """ images = LuxImage.objects.all()[:80] videos = LuxVideo.objects.all()[:10] - audio = Audio.objects.all()[:40] + audio = LuxAudio.objects.all()[:40] object_list = sorted( chain(images, videos, audio), key=lambda instance: instance.pub_date, |