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

Appearance settings
Discussion options

The field was talked about a bit in #8669, but I'd like to go further into this

Currently, SlugRelatedField's __init__ method has a default value of None for slug_field, but the first line of the method is asserting slug_field is not None, meaning it can't really be None

The parameter should not have a default of =None

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.