Python 3.7+ compatibility #2
Open
LinearB / lb/linearb_ai_description
succeeded
Jan 23, 2026 in 6s
describe-changes@v1
describe-changes@v1: with concatenate mode: append
✨ PR Description
Purpose: Update Django Piston codebase to ensure compatibility with Python 3.7+ by modernizing deprecated Django imports and string handling patterns.
Main changes:
- Replaced deprecated django.core.urlresolvers with django.urls imports across authentication, documentation, emitters and utilities modules
- Updated render_to_response calls to use django.shortcuts.render function with explicit request context parameter
- Modified ForeignKey definitions to include required on_delete=models.CASCADE parameter for Django 2.0+ compatibility
Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how
Loading