Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Re-enabled overwriting of URL field#1237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
n2ygk merged 1 commit intodjango-json-api:mainfromsliverc:allow_url
Jun 24, 2024

Conversation

sliverc
Copy link
Member

Addresses#1233

Description of the Change

URL_FIELD_NAME is usually used as self-link in links. However, the field name should be allowed to be overwritten as long as the field type is not HyperlinkedIdentifyField whichHyperlinkedModelSerializer uses.

Checklist

  • PR only contains one change (considered splitting up PR)
  • unit-test added
  • documentation updated
  • CHANGELOG.md updated (only for user relevant changes)
  • author name inAUTHORS

URL_FIELD_NAME is usually used as self-link in links.However it should be allowed to be overwritten as longas not HyperlinkedIdentifyField has been used.
@slivercsliverc requested a review fromn2ygkJune 23, 2024 18:54
@n2ygkn2ygk merged commit53469f3 intodjango-json-api:mainJun 24, 2024
11 checks passed
@slivercsliverc deleted the allow_url branchJune 24, 2024 21:17
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@n2ygkn2ygkn2ygk approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@sliverc@n2ygk

[8]ページ先頭

©2009-2025 Movatter.jp