diff options
Diffstat (limited to 'apps/blog/models.py')
-rw-r--r-- | apps/blog/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/blog/models.py b/apps/blog/models.py index e598f14..f354bab 100644 --- a/apps/blog/models.py +++ b/apps/blog/models.py @@ -15,7 +15,7 @@ from locations.models import Location,Region #from locations.signals import create_location_item def get_upload_path(self, filename): - return "%s/post-thumbs/%s/%s" %(settings.IMAGES_ROOT, datetime.datetime.today().strftime("%Y"), filename) + return "images/post-thumbs/heloo/%s/%s" %(datetime.datetime.today().strftime("%Y"), filename) def markdown_processor(md): processed = markdown.markdown(md, safe_mode = False).split('<break>') |