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

  • Home
  • SEARCH
  • 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 8382175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:52:16+00:00 2026-06-09T16:52:16+00:00

We developed project with django version 1.2 and python 2.4. Now we want to

  • 0

We developed project with django version 1.2 and python 2.4. Now we want to migrate the projects into latest version (Django1.4 and python2.7).

I am very new for migration, Can anyone please advise on this.

What things do I need to take careof?
Do we need to rewrite all the code again?

  • 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-06-09T16:52:17+00:00Added an answer on June 9, 2026 at 4:52 pm

    This is what we are doing (we’re upgrading ~60Kloc from Django 0.97 to 1.4):

    • create an upgrade branch of your code
    • create a virtualenv for working on the upgrade
    • download the “next” version of Django (if you prefer small steps), or the Django version you want to end up with, and place it into your own version control system (VCS).
    • check out Django from your VCS to the root of your virtualenv.
    • repeat until done:
      • run your testsuite (and coverage).
      • fix any problems
    • add a comment in your root __init__.py file indicating which Django version your code works with (this will save you a lot of time one day 🙂
    • merge your trunk out to your upgrade branch (to get all the changes that have happened while you were working on the upgrade).
    • run your testsuite, fix any problems, then check-in the merge.
    • finally: reintegrate your upgrade branch back into trunk.

    Now you’ve upgraded your code (you’ll still have to plan the deployment of the upgrade, but that’s another question).

    ps: we store Django in our VCS so we can keep track of any changes we need to make to Django itself (especially needed if you don’t want to go to 1.4, but still might need one or two fixes from that version).

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

Sidebar

Related Questions

I ever developed several projects based on python framework Django. And it greatly improved
I've developed a Django project running on dev server. Now I am struggling in
I have developed my entire project (Django, Python) on Windows and all the PaaS
This project is being developed in python and django. As per my requirement I
I am working with a django project, I haven't started. The developed working on
So herein lies my question. Django project that was originally developed several years ago
I have developed a project (employee management system), now I am on reporting part.
In my web projects (Django framework) I typically have a few internally developed JavaScript
Hi Stackoverflow people, In the past, I always developed my Django projects locally with
I'm working on a project, using Python/Django running on a Virtual Private Server, which

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.