Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Platform
Development
swh-web
Commits
3f5f2c60
Commit
3f5f2c60
authored
7 months ago
by
Renaud Boyer
Browse files
Options
Downloads
Patches
Plain Diff
django: Transitional FORMS_URLFIELD_ASSUME_HTTPS setting
parent
a25c9d3a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1318
tests: Reduce the number of warnings raised
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cypress/e2e/add-forge-now-request-dashboard.cy.js
+1
-1
1 addition, 1 deletion
cypress/e2e/add-forge-now-request-dashboard.cy.js
pytest.ini
+1
-0
1 addition, 0 deletions
pytest.ini
swh/web/settings/common.py
+3
-0
3 additions, 0 deletions
swh/web/settings/common.py
with
5 additions
and
1 deletion
cypress/e2e/add-forge-now-request-dashboard.cy.js
+
1
−
1
View file @
3f5f2c60
...
...
@@ -109,7 +109,7 @@ describe('Test add forge now request dashboard load', function() {
.
should
(
'
contain
'
,
'
bitbucket
'
);
cy
.
get
(
'
#requestURL a
'
)
.
should
(
'
have.attr
'
,
'
href
'
,
'
http://test.example.com
'
);
.
should
(
'
have.attr
'
,
'
href
'
,
'
http
s
://test.example.com
'
);
cy
.
get
(
'
#requestContactEmail
'
)
.
should
(
'
contain
'
,
'
test@example.com
'
);
...
...
This diff is collapsed.
Click to expand it.
pytest.ini
+
1
−
0
View file @
3f5f2c60
...
...
@@ -13,6 +13,7 @@ filterwarnings =
ignore:.*Using
or
importing
the
ABCs
from
'collections'
ignore:.*uses
the.*fixture,
which
is
reset
between
function
calls
ignore:.*'U'
mode
is
deprecated
ignore:.*FORMS_URLFIELD_ASSUME_HTTPS
transitional
setting
is
deprecated.
consider_namespace_packages
=
true
markers
=
inbound_message:
used
to
pass
a
message
parameter
to
the
inbound_message
fixture
\ No newline at end of file
This diff is collapsed.
Click to expand it.
swh/web/settings/common.py
+
3
−
0
View file @
3f5f2c60
...
...
@@ -419,3 +419,6 @@ RATELIMIT_IP_META_KEY = lambda request: request.META.get( # noqa
).
split
(
"
,
"
,
maxsplit
=
1
)[
0
]
DATA_UPLOAD_MAX_MEMORY_SIZE
=
10485760
# 10Mb
# XXX Transitional setting that will be removed in Django 6.0
FORMS_URLFIELD_ASSUME_HTTPS
=
True
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