|
@@ -319,7 +319,8 @@ class Media(Base): |
|
|
|
|
|
|
|
|
@property |
|
|
@property |
|
|
def get_path(self): |
|
|
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): |
|
|
class SallePhy(Base): |
|
|
""" Représente une salle dans les locaux """ |
|
|
""" Représente une salle dans les locaux """ |
|
|