def my_album(album_id): album = photo_db.get_album(album_id) albums = photo_db.get_albums(user.get_id()) return render_template('myalbum.html', album=album, photos=photo_db.get_album_files(album_id), albums=albums)
def album_show(album_id): album = photo_db.get_album(album_id) return render_template('album.html', album=album, photos=photo_db.get_album_files(album_id))