Skip to content
Snippets Groups Projects
Commit c5f5b089 authored by Sylvain Le Bon's avatar Sylvain Le Bon
Browse files

update: Django 4.2 compatibility

parent 68a9c868
No related branches found
Tags v2.3.0
2 merge requests!253major: switched to Django 4.2, python 3.11 and improved performances,!252update: added an ordering on models to prevent warning: Pagination may yield...
Pipeline #15167 failed
...@@ -448,6 +448,7 @@ class TestsInbox(APITestCase): ...@@ -448,6 +448,7 @@ class TestsInbox(APITestCase):
self.assertNotEqual(backlink.pk, 100) self.assertNotEqual(backlink.pk, 100)
def test_missing_not_null_field_activity(self): def test_missing_not_null_field_activity(self):
# TODO: catch the warning
# DateChild must not have a null reference to parent # DateChild must not have a null reference to parent
# and parent must not have a null field 'date', which here is missing # and parent must not have a null field 'date', which here is missing
obj = { obj = {
......
...@@ -2,7 +2,7 @@ from hashlib import md5 ...@@ -2,7 +2,7 @@ from hashlib import md5
from Cryptodome.PublicKey import RSA from Cryptodome.PublicKey import RSA
from django.db import models from django.db import models
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import gettext_lazy as _
class RSAKey(models.Model): class RSAKey(models.Model):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment