File tree 8 files changed +33
-13
lines changed
8 files changed +33
-13
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ diff-match-patch==20200713
80
80
django==3.2.23
81
81
# via
82
82
# -r requirements/base.in
83
+ # django-admin-index
83
84
# django-appconf
84
85
# django-appdata
85
86
# django-axes
@@ -124,7 +125,7 @@ django==3.2.23
124
125
# mozilla-django-oidc-db
125
126
# notifications-api-common
126
127
# zgw-consumers
127
- django-admin-index==1.5 .0
128
+ django-admin-index==3.1 .0
128
129
# via -r requirements/base.in
129
130
django-appconf==1.0.5
130
131
# via
@@ -200,7 +201,7 @@ django-log-outgoing-requests==0.6.0
200
201
# via -r requirements/base.in
201
202
django-open-forms-client==0.2.3
202
203
# via -r requirements/base.in
203
- django-ordered-model==3.4.3
204
+ django-ordered-model==3.7.4
204
205
# via
205
206
# -r requirements/base.in
206
207
# django-admin-index
Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ django==3.2.23
152
152
# via
153
153
# -c requirements/base.txt
154
154
# -r requirements/base.txt
155
+ # django-admin-index
155
156
# django-appconf
156
157
# django-appdata
157
158
# django-axes
@@ -196,7 +197,7 @@ django==3.2.23
196
197
# mozilla-django-oidc-db
197
198
# notifications-api-common
198
199
# zgw-consumers
199
- django-admin-index==1.5 .0
200
+ django-admin-index==3.1 .0
200
201
# via
201
202
# -c requirements/base.txt
202
203
# -r requirements/base.txt
@@ -330,7 +331,7 @@ django-open-forms-client==0.2.3
330
331
# via
331
332
# -c requirements/base.txt
332
333
# -r requirements/base.txt
333
- django-ordered-model==3.4.3
334
+ django-ordered-model==3.7.4
334
335
# via
335
336
# -c requirements/base.txt
336
337
# -r requirements/base.txt
Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ django==3.2.23
185
185
# -c requirements/ci.txt
186
186
# -r requirements/ci.txt
187
187
# ddt-api-calls
188
+ # django-admin-index
188
189
# django-appconf
189
190
# django-appdata
190
191
# django-axes
@@ -231,7 +232,7 @@ django==3.2.23
231
232
# mozilla-django-oidc-db
232
233
# notifications-api-common
233
234
# zgw-consumers
234
- django-admin-index==1.5 .0
235
+ django-admin-index==3.1 .0
235
236
# via
236
237
# -c requirements/ci.txt
237
238
# -r requirements/ci.txt
@@ -369,7 +370,7 @@ django-open-forms-client==0.2.3
369
370
# via
370
371
# -c requirements/ci.txt
371
372
# -r requirements/ci.txt
372
- django-ordered-model==3.4.3
373
+ django-ordered-model==3.7.4
373
374
# via
374
375
# -c requirements/ci.txt
375
376
# -r requirements/ci.txt
Original file line number Diff line number Diff line change 818
818
TWO_FACTOR_WEBAUTHN_AUTHENTICATOR_ATTACHMENT = "cross-platform"
819
819
# Allow OIDC admins to bypass 2FA
820
820
MAYKIN_2FA_ALLOW_MFA_BYPASS_BACKENDS = [
821
- "open_inwoner.accounts.backends.CustomOIDCBackend" ,
821
+ # "open_inwoner.accounts.backends.CustomOIDCBackend",
822
822
]
823
823
824
824
# file upload limits
Original file line number Diff line number Diff line change
1
+ # Generated by Django 3.2.23 on 2024-02-07 15:19
2
+
3
+ from django .db import migrations
4
+
5
+
6
+ class Migration (migrations .Migration ):
7
+
8
+ dependencies = [
9
+ ("configurations" , "0058_siteconfiguration_recipients_email_digest" ),
10
+ ]
11
+
12
+ operations = [
13
+ migrations .AlterModelOptions (
14
+ name = "siteconfigurationpage" ,
15
+ options = {
16
+ "ordering" : ("order" ,),
17
+ "verbose_name" : "Flatpage in the footer" ,
18
+ "verbose_name_plural" : "Flatpages in the footer" ,
19
+ },
20
+ ),
21
+ ]
Original file line number Diff line number Diff line change @@ -611,7 +611,7 @@ class SiteConfigurationPage(OrderedModel):
611
611
612
612
objects = OrderedModelManager ()
613
613
614
- class Meta :
614
+ class Meta ( OrderedModel . Meta ) :
615
615
verbose_name = _ ("Flatpage in the footer" )
616
616
verbose_name_plural = _ ("Flatpages in the footer" )
617
617
Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ class ProductCondition(OrderedModel):
414
414
help_text = _ ("Rule for the automated check" ),
415
415
)
416
416
417
- class Meta :
417
+ class Meta ( OrderedModel . Meta ) :
418
418
verbose_name = _ ("Condition" )
419
419
verbose_name_plural = _ ("Conditions" )
420
420
ordering = ("order" ,)
Original file line number Diff line number Diff line change 6
6
def should_display_dropdown_menu (request ) -> bool :
7
7
default = default_should_display_dropdown_menu (request )
8
8
9
- # never display the dropdown in two-factor admin views
10
- if request .resolver_match .view_name .startswith ("maykin_2fa" ):
11
- return False
12
-
13
9
return default and request .user .is_verified ()
You can’t perform that action at this time.
0 commit comments