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

Fix template.render deprecation warnings for Django 1.9#3654

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

Conversation

@andreif
Copy link
Contributor

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This should go to the compat.py file and should be similar to the new API.

@xordoquy
Copy link
Contributor

Thanks for fixing this. I think the code should be moved to compat.py and be given an API similar to Django's new one.

@andreif
Copy link
ContributorAuthor

Ok, I fix

@andreifandreifforce-pushed thefix/deprecation-warning-1.9 branch from3bf5dfd to802ee5dCompareNovember 18, 2015 16:10
@andreif
Copy link
ContributorAuthor

@xordoquy Done.

@lovelydinosaur
Copy link
Contributor

Looks good - thanks!

lovelydinosaur added a commit that referenced this pull requestNov 18, 2015
Fix template.render deprecation warnings for Django 1.9
@lovelydinosaurlovelydinosaur merged commit43c45cc intoencode:masterNov 18, 2015
@andreifandreif deleted the fix/deprecation-warning-1.9 branchNovember 18, 2015 16:19
@jezdez
Copy link

We're trying to switch to Django 1.8 using django-jinja which expects to be passed a request to the render method. I was wondering if the condition whether to pass in the request could be modified in DRF to be checking for< (1, 8) instead?

@xordoquy
Copy link
Contributor

Indeed, this seems to have slip through.

@xordoquy
Copy link
Contributor

@jezdez thanks for the report !

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

3.3.2 Release

Development

Successfully merging this pull request may close these issues.

4 participants

@andreif@xordoquy@lovelydinosaur@jezdez

[8]ページ先頭

©2009-2025 Movatter.jp