|
|
@@ -319,7 +319,8 @@ class Media(Base): |
|
|
|
|
|
|
|
@property |
|
|
|
def get_path(self): |
|
|
|
return '/upload/%s/%s/%s' % (self.media_type, self.media_table, self.filename) |
|
|
|
#return '/upload/%s/%s/%s' % (self.media_type, self.media_table, self.filename) |
|
|
|
return '/resources/%s/%s/%s' % (self.for_year, self.media_type, self.filename) |
|
|
|
|
|
|
|
class SallePhy(Base): |
|
|
|
""" Représente une salle dans les locaux """ |
|
|
|