summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-12-02 16:05:31 -0500
committerluxagraf <sng@luxagraf.net>2020-12-02 16:05:31 -0500
commit32c4a9dbeb374e93188755da7f406ddfd16f7583 (patch)
treedc9af96d126ac10e070b1d7d0ba06476042e67d4 /app
parentab8055b5cab2523d925f59c65bc38df103a26991 (diff)
fixed admin image insert bug
Diffstat (limited to 'app')
-rw-r--r--app/utils/views.py2
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,