How to upgrade Django in visual studio [duplicate]
This question already has an answer here:
How to update Django in visual studio 2017
2 answers
Is there any method to upgrade the Django and project to the latest version?
Thanks,
Saeed
python django visual-studio
marked as duplicate by RoadRunner, BlackBeard, ruddra, jpp
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 1 at 10:50
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
How to update Django in visual studio 2017
2 answers
Is there any method to upgrade the Django and project to the latest version?
Thanks,
Saeed
python django visual-studio
marked as duplicate by RoadRunner, BlackBeard, ruddra, jpp
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 1 at 10:50
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
How to update Django in visual studio 2017
2 answers
Is there any method to upgrade the Django and project to the latest version?
Thanks,
Saeed
python django visual-studio
This question already has an answer here:
How to update Django in visual studio 2017
2 answers
Is there any method to upgrade the Django and project to the latest version?
Thanks,
Saeed
This question already has an answer here:
How to update Django in visual studio 2017
2 answers
python django visual-studio
python django visual-studio
asked Jan 1 at 9:14
S.pdlS.pdl
86
86
marked as duplicate by RoadRunner, BlackBeard, ruddra, jpp
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 1 at 10:50
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by RoadRunner, BlackBeard, ruddra, jpp
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 1 at 10:50
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You need to uninstall the current version by
pip uninstall Django
Then install the newer version
pip install Django==2.1.4
Note that: latest Django version worked with python 3.5, 3.6, 3.7 version. Your older version code has backward compatibility, breaks somewhere. If you still need to upgrade version of Django, be sure to that.
Should I write this commands in Django shell in visual studio?
– S.pdl
Jan 1 at 9:26
yes. Also check python version.
– Shafikur Rahman
Jan 1 at 9:29
I write this command in Windows PowerShell but nothing happens in the visual studio. Django shell in visual studio doesn't accept this command and errors: syntax error. Can you please describe more where should I write?
– S.pdl
Jan 1 at 9:47
djangobook.com/developing-django-visual-studio see this
– Shafikur Rahman
Jan 1 at 9:49
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You need to uninstall the current version by
pip uninstall Django
Then install the newer version
pip install Django==2.1.4
Note that: latest Django version worked with python 3.5, 3.6, 3.7 version. Your older version code has backward compatibility, breaks somewhere. If you still need to upgrade version of Django, be sure to that.
Should I write this commands in Django shell in visual studio?
– S.pdl
Jan 1 at 9:26
yes. Also check python version.
– Shafikur Rahman
Jan 1 at 9:29
I write this command in Windows PowerShell but nothing happens in the visual studio. Django shell in visual studio doesn't accept this command and errors: syntax error. Can you please describe more where should I write?
– S.pdl
Jan 1 at 9:47
djangobook.com/developing-django-visual-studio see this
– Shafikur Rahman
Jan 1 at 9:49
add a comment |
You need to uninstall the current version by
pip uninstall Django
Then install the newer version
pip install Django==2.1.4
Note that: latest Django version worked with python 3.5, 3.6, 3.7 version. Your older version code has backward compatibility, breaks somewhere. If you still need to upgrade version of Django, be sure to that.
Should I write this commands in Django shell in visual studio?
– S.pdl
Jan 1 at 9:26
yes. Also check python version.
– Shafikur Rahman
Jan 1 at 9:29
I write this command in Windows PowerShell but nothing happens in the visual studio. Django shell in visual studio doesn't accept this command and errors: syntax error. Can you please describe more where should I write?
– S.pdl
Jan 1 at 9:47
djangobook.com/developing-django-visual-studio see this
– Shafikur Rahman
Jan 1 at 9:49
add a comment |
You need to uninstall the current version by
pip uninstall Django
Then install the newer version
pip install Django==2.1.4
Note that: latest Django version worked with python 3.5, 3.6, 3.7 version. Your older version code has backward compatibility, breaks somewhere. If you still need to upgrade version of Django, be sure to that.
You need to uninstall the current version by
pip uninstall Django
Then install the newer version
pip install Django==2.1.4
Note that: latest Django version worked with python 3.5, 3.6, 3.7 version. Your older version code has backward compatibility, breaks somewhere. If you still need to upgrade version of Django, be sure to that.
answered Jan 1 at 9:17
Shafikur RahmanShafikur Rahman
1,98731126
1,98731126
Should I write this commands in Django shell in visual studio?
– S.pdl
Jan 1 at 9:26
yes. Also check python version.
– Shafikur Rahman
Jan 1 at 9:29
I write this command in Windows PowerShell but nothing happens in the visual studio. Django shell in visual studio doesn't accept this command and errors: syntax error. Can you please describe more where should I write?
– S.pdl
Jan 1 at 9:47
djangobook.com/developing-django-visual-studio see this
– Shafikur Rahman
Jan 1 at 9:49
add a comment |
Should I write this commands in Django shell in visual studio?
– S.pdl
Jan 1 at 9:26
yes. Also check python version.
– Shafikur Rahman
Jan 1 at 9:29
I write this command in Windows PowerShell but nothing happens in the visual studio. Django shell in visual studio doesn't accept this command and errors: syntax error. Can you please describe more where should I write?
– S.pdl
Jan 1 at 9:47
djangobook.com/developing-django-visual-studio see this
– Shafikur Rahman
Jan 1 at 9:49
Should I write this commands in Django shell in visual studio?
– S.pdl
Jan 1 at 9:26
Should I write this commands in Django shell in visual studio?
– S.pdl
Jan 1 at 9:26
yes. Also check python version.
– Shafikur Rahman
Jan 1 at 9:29
yes. Also check python version.
– Shafikur Rahman
Jan 1 at 9:29
I write this command in Windows PowerShell but nothing happens in the visual studio. Django shell in visual studio doesn't accept this command and errors: syntax error. Can you please describe more where should I write?
– S.pdl
Jan 1 at 9:47
I write this command in Windows PowerShell but nothing happens in the visual studio. Django shell in visual studio doesn't accept this command and errors: syntax error. Can you please describe more where should I write?
– S.pdl
Jan 1 at 9:47
djangobook.com/developing-django-visual-studio see this
– Shafikur Rahman
Jan 1 at 9:49
djangobook.com/developing-django-visual-studio see this
– Shafikur Rahman
Jan 1 at 9:49
add a comment |