A
A
AntonIgin2017-06-27 20:28:54
Django
AntonIgin, 2017-06-27 20:28:54

How to migrate content and database to newer Django site?

There was such a task. A potential customer gave the site a job, provided technical specifications, everything is fine, but here's the problem - the site is based on Django 1.6 and Python 2.7.
There was an idea a little later to offer the client to switch to Django 1.10, but for obvious reasons he will refuse: how to transfer all these product databases and everything else to a new site? It will take a lot of time and money.
I assume that you need to study the database itself, create suitable models for it in the new site, and then somehow indicate that this model is associated with that table, and specific fields with this column.
So the question is: how to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sim3x, 2017-06-27
@AntonIgin

Making a new wirt env with python3+django1.6 Starting
tests
Fixing bugs
Committing fixes
Putting django1.7
Tests
Fixing
Committing
And so on up to 1.11
there is no need to touch the database at all
Models - all the more there is no need to touch

S
stoitli, 2017-06-27
@stoitli

Python 2.7 is quite up to date.
The last update for it came out almost the other day.
;)))
Not the fact that it is necessary to transfer bases.
But if you are asking such a question, then it is better for you not to do this.
DJango is not a CMS, but a framework.
For frameworks, update issues are not so relevant.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question