Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7705871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:58:15+00:00 2026-05-31T23:58:15+00:00

I am developing an Django application using the Django 1.3.1 release : https://code.djangoproject.com/browser/django/tags/releases/1.3.1 I

  • 0

I am developing an Django application using the Django 1.3.1 release :
https://code.djangoproject.com/browser/django/tags/releases/1.3.1

I encountered a bug, which has been identified and fixed by the Django team :
https://code.djangoproject.com/ticket/16128

The changeset associated to the bug resolution is located in Django trunk
https://code.djangoproject.com/changeset/17755

My question is : how can I take advantage of the bug resolution, without upgrading to the Django trunk version ?

There a bunch of files attached to the ticket, the latest is :
https://code.djangoproject.com/attachment/ticket/16128/16128.diff

I can see that this file is a standard ‘diff’ file, which can be processed by the ‘patch’ utility. I tried to apply it on my django 1.3.1 installation (on a dev machine), but it does not work…The source lines (to be replaced) are not exactly the one expected by the diff file.

To which ‘start state’ does refer this diff file ? In other words, to which django version can it be applied ?

Is there another way than applying it ‘manually’ ? Even if I apply it manually, I can see that the patched code call new versions of methods not included in the patch…which means that I have to find out, by reading the code, which other files have to be patched, and patch them…

At this point, I think something like : “waow, it’s to complicated, let’s wait the next release of Django – 1.5, for this ticket – and find a workaround !”. But, in other hand, if the patch system exists, it must be possible to apply this patch to my Django 1.3.1 installation…

Did anyone encountered the same kind of problem ? If so, how did you manage it ?

Thanks in advance for your help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T23:58:17+00:00Added an answer on May 31, 2026 at 11:58 pm

    Did you actually try with the Django 1.4 release, which has been issued a few days ago? I am quite sure it is part of it.

    Anyways…you can get the official diff at the changeset page that you referenced – at the bottom there is a link to an unified diff. You can download the patch from there and use it to patch(1) your release (beware that should the Django team release a new security release of Django 1.3, you may have to apply it again). However, those diffs are always against the most recent codebase at the time the patch has been committed. For that reason, sometimes you might have a bad luck (like in the case you have described above) and it may not apply cleanly to the previous release. In such case you would have to track down all the changes required to make it work, which may be pretty much work and might be unacceptable. So there are only three options: find your own way to work the bug around, track all the changes required to apply the patch cleanly, or upgrade to the given revision.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing an IFrame application in Facebook (using pyfacebook and Django) and could not
I'm using the Django manage.py runserver for developing my application (obviously), but it takes
I am developing a Django application, which is a large system that requires multiple
I am developing an multilingual application using Django. One part is to select the
I am developing an application on the Google App Engine using Python (and Django,
I am developing a web application using django, postgreSQL, html5 and javascript. The application
I am developing a web application using Python, Django and MySql. I have a
I started developing application with Django on Ubuntu. I am using Apache 2.2. with
I am in the middle of developing a Django application, which has quite complicated
I am developing a Django application using Oracle with no modifications to DB schema

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.