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

Fixed tests on Windows. Added unicode support to SlugField#5231

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

Conversation

@dmmatson
Copy link
Contributor

@dmmatsondmmatson commentedJun 24, 2017
edited by lovelydinosaur
Loading

Description

This implements theallow_unicode argument forSlugField per#5223, to align with the behavior of the DjangoSlugField (https://docs.djangoproject.com/en/1.11/ref/models/fields/#slugfield).

Also fixing a couple tests that don't pass on Windows becausetempfile.NamedTemporaryFile cannot be opened more than once simultaneously. If this change isn't appropriate for this pull request, let me know and I'll pull it.

Closes#5223

@lovelydinosaur
Copy link
Contributor

Looks great, nice work!

@lovelydinosaurlovelydinosaur merged commit3dab905 intoencode:masterJul 7, 2017
@lovelydinosaurlovelydinosaur added this to the3.6.4 Release milestoneJul 7, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

3.6.4 Release

Development

Successfully merging this pull request may close these issues.

SlugField doesn't accept Unicode

2 participants

@dmmatson@lovelydinosaur

[8]ページ先頭

©2009-2025 Movatter.jp