How to upgrade Django in visual studio [duplicate]












0
















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










share|improve this question













marked as duplicate by RoadRunner, BlackBeard, ruddra, jpp python
Users with the  python badge can single-handedly close python questions as duplicates and reopen them as needed.

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.























    0
















    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










    share|improve this question













    marked as duplicate by RoadRunner, BlackBeard, ruddra, jpp python
    Users with the  python badge can single-handedly close python questions as duplicates and reopen them as needed.

    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.





















      0












      0








      0









      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










      share|improve this question















      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 1 at 9:14









      S.pdlS.pdl

      86




      86




      marked as duplicate by RoadRunner, BlackBeard, ruddra, jpp python
      Users with the  python badge can single-handedly close python questions as duplicates and reopen them as needed.

      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 python
      Users with the  python badge can single-handedly close python questions as duplicates and reopen them as needed.

      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.


























          1 Answer
          1






          active

          oldest

          votes


















          0














          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.






          share|improve this answer
























          • 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


















          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          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.






          share|improve this answer
























          • 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
















          0














          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.






          share|improve this answer
























          • 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














          0












          0








          0







          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.






          share|improve this answer













          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          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



















          • 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





          Popular posts from this blog

          MongoDB - Not Authorized To Execute Command

          Npm cannot find a required file even through it is in the searched directory

          in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith