Browse Source

add media url to schema

ilya_shyian 2 years ago
parent
commit
ae3f3e6858
1 changed files with 1 additions and 1 deletions
  1. 1 1
      store_back/apps/goods/schema.py

+ 1 - 1
store_back/apps/goods/schema.py

@@ -7,7 +7,7 @@ from functools import reduce
 from .serializers import GoodSerializer
 from django.forms.models import model_to_dict
 from django.db.models import Count
-from django.contrib.settings import MEDIA_URL
+from django.conf.setting import MEDIA_URL
 
 import operator
 from django.db.models import Q