mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-10-01 18:28:19 +00:00
fix(dependencies+tests): update EoL/vulnerable dependencies and improve test stability
* Upgrade Python from 3.10 to 3.12 * Update frontend dependencies, replace node-sass with sass
This commit is contained in:
@@ -227,7 +227,7 @@ class RIGSVersion(Version):
|
||||
"revision", "revision__user").all()
|
||||
|
||||
try:
|
||||
previousVersion = versions.filter(revision_id__lt=self.revision_id).latest('revision__date_created')
|
||||
previousVersion = versions.filter(revision_id__lt=self.revision_id).latest('revision_id')
|
||||
except ObjectDoesNotExist:
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user