diff src/common/constants.py @ 483:0bbbef1d53a8

server side (blog): use user's avatar a the blog's favicon + small refactorization
author souliane <souliane@mailoo.org>
date Tue, 17 Jun 2014 16:21:42 +0200
parents bbdc5357dc00
children 3eb3a2c0c011 7af8f4ab3675
line wrap: on
line diff
--- a/src/common/constants.py	Sun Jun 15 18:16:24 2014 +0200
+++ b/src/common/constants.py	Tue Jun 17 16:21:42 2014 +0200
@@ -45,3 +45,9 @@
     UPLOAD_OK = 'UPLOAD OK'
     UPLOAD_KO = 'UPLOAD KO'
     UNKNOWN_ERROR = 'UNMANAGED FAULT STRING (%s)'
+
+    # PATHS
+    AVATARS_DIR = "avatars/"
+
+    # Default avatar
+    DEFAULT_AVATAR = "/media/misc/default_avatar.png"