DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
The Latest "Software Integration: The Intersection of APIs, Microservices, and Cloud-Based Systems" Trend Report
Get the report
  1. DZone
  2. Coding
  3. Frameworks
  4. Django 1.4 beta 1 Released; Python 2.4 Not Supported

Django 1.4 beta 1 Released; Python 2.4 Not Supported

Chris Smith user avatar by
Chris Smith
·
Feb. 17, 12 · Interview
Like (0)
Save
Tweet
Share
4.82K Views

Join the DZone community and get the full member experience.

Join For Free
Are you sick and tired of waiting for Django 1.4?  Well now you can get a chance to experience some of the new features with the Django 1.4 beta 1 release.  As usual, this beta is not intended for production use, but it is a great opportunity to get your hands on what's to come for Django in the near future.

Some of the bigger bits of news from this release are the support for in-browser testing frameworks, along with the anouncement that Python 2.4 will no longer be supported:

Django 1.4 supports integration with in-browser testing frameworks like Selenium. The new django.test.LiveServerTestCase base class lets you test the interactions between your site’s front and back ends more comprehensively. See the documentation for more details and concrete examples.  Also, please note that Django 1.4 now requires a minimum of Python 2.5; Python 2.4 is no longer supported.

-- James Bennett

While there are a litany of new features and improvements in the Django 1.4 beta 1 release notes, here are some of the more notable ones:

  • SELECT FOR UPDATE support:  Features a QuerySet.select_for_update() that generates a SQL query and prevents other transactions fro modifying of deleting matched rows.
  • Model.objects.bulk_create in the ORM: allows you to create multiple objects in the ORM more efficiently.
  • QuerySet.prefetch_related: Once query evaluation begins, a new QuerySet is returned that will prefetch related lookups in one batch.
  • Improved Password Hashing: Django 1.4 uses the PBKDF2 algorithm in place of the SHA1 algorithm, which has been deemed less secure. ("Warning: Django 1.4 alpha contained a bug that corrupted PBKDF2 hashes.  More information is available here.")
  • HTML5 Doctype: While Django will maintain compatibility with older browsers, it has now switched the admin and other bundled templates to HMTL5, meaning any HTML5 features can be used in the admin pages without losing HTML5 validity.

Django 1.4 beta 1 also features:

  • Extended IPv6 Support
  • Improved WSGI Support
  • Support of Time Zones

For a full list of new features and  improvements in Django 1.4 beta 1, check out the release notes.

Django 1.4 beta 1 is available for download here.
Django (web framework) BETA (programming language) Python (language)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Getting a Private SSL Certificate Free of Cost
  • How To Best Use Java Records as DTOs in Spring Boot 3
  • 5 Steps for Getting Started in Deep Learning
  • Building a Real-Time App With Spring Boot, Cassandra, Pulsar, React, and Hilla

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: