|
|
|
@ -434,6 +434,7 @@ class BaseViews(object): |
|
|
|
imgs = glob.glob(os.path.join(tmp_dir, '*.png')) |
|
|
|
imgs = glob.glob(os.path.join(tmp_dir, '*.png')) |
|
|
|
imgs = [os.path.split(i)[1] for i in imgs] |
|
|
|
imgs = [os.path.split(i)[1] for i in imgs] |
|
|
|
imgs = ['%stmp/%s/%s' % (MEDIA_URL, tmp_dirname, i) for i in imgs] |
|
|
|
imgs = ['%stmp/%s/%s' % (MEDIA_URL, tmp_dirname, i) for i in imgs] |
|
|
|
|
|
|
|
imgs.sort() |
|
|
|
email_form = self.EMAIL_FORM_CLASS() |
|
|
|
email_form = self.EMAIL_FORM_CLASS() |
|
|
|
dictionary = { |
|
|
|
dictionary = { |
|
|
|
'obj': obj, |
|
|
|
'obj': obj, |
|
|
|
|