Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
djangoldp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
djangoldp-packages
djangoldp
Commits
c5f5b089
Commit
c5f5b089
authored
1 year ago
by
Sylvain Le Bon
Browse files
Options
Downloads
Patches
Plain Diff
update: Django 4.2 compatibility
parent
68a9c868
No related branches found
Branches containing commit
Tags
v2.3.0
Tags containing commit
2 merge requests
!253
major: switched to Django 4.2, python 3.11 and improved performances
,
!252
update: added an ordering on models to prevent warning: Pagination may yield...
Pipeline
#15167
failed
1 year ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
djangoldp/tests/tests_inbox.py
+1
-0
1 addition, 0 deletions
djangoldp/tests/tests_inbox.py
djangoldp_crypto/models.py
+1
-1
1 addition, 1 deletion
djangoldp_crypto/models.py
with
2 additions
and
1 deletion
djangoldp/tests/tests_inbox.py
+
1
−
0
View file @
c5f5b089
...
@@ -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
=
{
...
...
This diff is collapsed.
Click to expand it.
djangoldp_crypto/models.py
+
1
−
1
View file @
c5f5b089
...
@@ -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
u
gettext_lazy
as
_
from
django.utils.translation
import
gettext_lazy
as
_
class
RSAKey
(
models
.
Model
):
class
RSAKey
(
models
.
Model
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment