Skip to content

Commit

Permalink
[DONE] Fix migrations for 3.4.0 (EsupPortail#957)
Browse files Browse the repository at this point in the history
* Improve code & change constraint of video password

* Optimisation of favorites playlist creation

* Fix favorites migration

* Fix password encryption

* Add batch_size
  • Loading branch information
AymericJak authored and vsabatie committed Nov 23, 2023
1 parent 2599d33 commit a371a84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pod/video/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def update_video_passwords(sender, **kwargs):
for video in videos_to_update:
video.password = make_password(video.password, hasher='pbkdf2_sha256')
video.save()
print("update_video_passwords --> OK")


class VideoConfig(AppConfig):
Expand Down

0 comments on commit a371a84

Please sign in to comment.