Browse Source

Changed the location of the missing image

master
David Winterbottom 13 years ago
parent
commit
1f8142acb3
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      oscar/defaults.py

+ 4
- 1
oscar/defaults.py View File

@@ -15,7 +15,10 @@ OSCAR_RECENTLY_VIEWED_PRODUCTS = 4
15 15
 # Paths
16 16
 OSCAR_IMAGE_FOLDER = 'images/products/%Y/%m/'
17 17
 OSCAR_PROMOTION_FOLDER = 'images/promotions/'
18
-OSCAR_MISSING_IMAGE_URL = '/static/oscar/img/image_not_found.jpg'
18
+
19
+# Copy this image from oscar/static/img to your MEDIA_ROOT folder.
20
+# It needs to be there so Sorl can resize it.
21
+OSCAR_MISSING_IMAGE_URL = 'image_not_found.jpg'
19 22
 OSCAR_UPLOAD_ROOT = '/tmp'
20 23
 
21 24
 # Search settings

Loading…
Cancel
Save