How to setup Django project in PyCharm











up vote
33
down vote

favorite
9












I'm new in this area so I have a question. Recently I started working with Python and Django. I installed PyCharm Community edition as my IDE, but I'm unable create Django project. I looked for some tutorials, and there is option te select "project type", but in latest version this option is missing. Can someone tell me how to do this?










share|improve this question






















  • Related: stackoverflow.com/questions/27269574/…
    – guettli
    Sep 23 '15 at 8:47










  • Possible duplicate of How to run Debug server for Django project in PyCharm Community Edition?
    – Blcknx
    Nov 8 at 10:56















up vote
33
down vote

favorite
9












I'm new in this area so I have a question. Recently I started working with Python and Django. I installed PyCharm Community edition as my IDE, but I'm unable create Django project. I looked for some tutorials, and there is option te select "project type", but in latest version this option is missing. Can someone tell me how to do this?










share|improve this question






















  • Related: stackoverflow.com/questions/27269574/…
    – guettli
    Sep 23 '15 at 8:47










  • Possible duplicate of How to run Debug server for Django project in PyCharm Community Edition?
    – Blcknx
    Nov 8 at 10:56













up vote
33
down vote

favorite
9









up vote
33
down vote

favorite
9






9





I'm new in this area so I have a question. Recently I started working with Python and Django. I installed PyCharm Community edition as my IDE, but I'm unable create Django project. I looked for some tutorials, and there is option te select "project type", but in latest version this option is missing. Can someone tell me how to do this?










share|improve this question













I'm new in this area so I have a question. Recently I started working with Python and Django. I installed PyCharm Community edition as my IDE, but I'm unable create Django project. I looked for some tutorials, and there is option te select "project type", but in latest version this option is missing. Can someone tell me how to do this?







python django pycharm






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 26 '14 at 12:38









user3676356

166123




166123












  • Related: stackoverflow.com/questions/27269574/…
    – guettli
    Sep 23 '15 at 8:47










  • Possible duplicate of How to run Debug server for Django project in PyCharm Community Edition?
    – Blcknx
    Nov 8 at 10:56


















  • Related: stackoverflow.com/questions/27269574/…
    – guettli
    Sep 23 '15 at 8:47










  • Possible duplicate of How to run Debug server for Django project in PyCharm Community Edition?
    – Blcknx
    Nov 8 at 10:56
















Related: stackoverflow.com/questions/27269574/…
– guettli
Sep 23 '15 at 8:47




Related: stackoverflow.com/questions/27269574/…
– guettli
Sep 23 '15 at 8:47












Possible duplicate of How to run Debug server for Django project in PyCharm Community Edition?
– Blcknx
Nov 8 at 10:56




Possible duplicate of How to run Debug server for Django project in PyCharm Community Edition?
– Blcknx
Nov 8 at 10:56












4 Answers
4






active

oldest

votes

















up vote
48
down vote













You can simply go to:



In Run -> Edit Configurations create new configuration
Script: path_to/manage.py
Script parameters: runserver





share|improve this answer






























    up vote
    17
    down vote













    If you look at the features edition comparison matrix, you will see that only Pycharm professional supports the Django Framework.



    You can setup a project from the command line using the manage.py script and just open it in Pycharm. Then use the terminal to sync, start server etc...



    You can use Eclipse py-dev with http://pydev.org/manual_adv_django.html, I have not tried it so I cannot say how good or bad it is.



    There is a tutorial on setting up a new project here



    Wingware also seem to have some Django support.






    share|improve this answer



















    • 1




      So much from free IDE. Can you suggest alternative free IDE for Python/Django?
      – user3676356
      May 26 '14 at 12:54










    • @user3676356, I added to my answer.
      – Padraic Cunningham
      May 26 '14 at 13:01






    • 1




      +1 for Eclipse with PyDev, It can be a bit of a chore at the start but i love it now. PyDev has Django support as well. Youtube videos how setting up Django projects in Pydev are a very quick way to learn it.
      – Deepend
      May 26 '14 at 14:59










    • What happens when Community pyCharm users open Professional pyCharm projects with Django extensions?
      – Dale E. Moore
      Aug 17 '14 at 1:12






    • 1




      @DaleE.Moore, it would just open it as regular Python files. The only issue is that Django is not integrated into the IDE, so you'd have to run the Django commands externally, such as runserver.
      – Bobort
      Oct 21 '14 at 20:23


















    up vote
    6
    down vote













    I have met the problems today. At last, I finished it by:




    1. Create project in command line

    2. Create app in command line

    3. Just open the existing files and code in pycharm


    The way I use have the benefits:




    • don't need by professional pycharm

    • code django project in pycharm






    share|improve this answer






























      up vote
      0
      down vote













      Pycharm integration with Django. Please try below steps for integration.



      1. Add Django plugin inside your python interpreter



      enter image description here



      Click + icon for installation of Django



      enter image description here
      Click on the install package, it will take some time for installation.



      2. Check Django installation:




      create a sample.py file




        import django
      print(django.get_version())


      3. Open the terminal and entered



      django-admin startproject mysite(name of your project)


      4. Run Server



      cd mysite
      python manage.py runserver



      You are able to start Django server at http://127.0.0.1:8000/




      5. Create the application



      Open the another terminal and entered



       cd mysite
      python manage.py startapp webapp(name of your app)


      Please refer for more detail: https://www.youtube.com/watch?v=RUeLWSrtcFc






      share|improve this answer





















        Your Answer






        StackExchange.ifUsing("editor", function () {
        StackExchange.using("externalEditor", function () {
        StackExchange.using("snippets", function () {
        StackExchange.snippets.init();
        });
        });
        }, "code-snippets");

        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "1"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














         

        draft saved


        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f23870365%2fhow-to-setup-django-project-in-pycharm%23new-answer', 'question_page');
        }
        );

        Post as a guest
































        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        48
        down vote













        You can simply go to:



        In Run -> Edit Configurations create new configuration
        Script: path_to/manage.py
        Script parameters: runserver





        share|improve this answer



























          up vote
          48
          down vote













          You can simply go to:



          In Run -> Edit Configurations create new configuration
          Script: path_to/manage.py
          Script parameters: runserver





          share|improve this answer

























            up vote
            48
            down vote










            up vote
            48
            down vote









            You can simply go to:



            In Run -> Edit Configurations create new configuration
            Script: path_to/manage.py
            Script parameters: runserver





            share|improve this answer














            You can simply go to:



            In Run -> Edit Configurations create new configuration
            Script: path_to/manage.py
            Script parameters: runserver






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Aug 11 '16 at 11:05









            FrankerZ

            15.4k72859




            15.4k72859










            answered Jul 8 '15 at 7:18









            Shantanu

            1,344913




            1,344913
























                up vote
                17
                down vote













                If you look at the features edition comparison matrix, you will see that only Pycharm professional supports the Django Framework.



                You can setup a project from the command line using the manage.py script and just open it in Pycharm. Then use the terminal to sync, start server etc...



                You can use Eclipse py-dev with http://pydev.org/manual_adv_django.html, I have not tried it so I cannot say how good or bad it is.



                There is a tutorial on setting up a new project here



                Wingware also seem to have some Django support.






                share|improve this answer



















                • 1




                  So much from free IDE. Can you suggest alternative free IDE for Python/Django?
                  – user3676356
                  May 26 '14 at 12:54










                • @user3676356, I added to my answer.
                  – Padraic Cunningham
                  May 26 '14 at 13:01






                • 1




                  +1 for Eclipse with PyDev, It can be a bit of a chore at the start but i love it now. PyDev has Django support as well. Youtube videos how setting up Django projects in Pydev are a very quick way to learn it.
                  – Deepend
                  May 26 '14 at 14:59










                • What happens when Community pyCharm users open Professional pyCharm projects with Django extensions?
                  – Dale E. Moore
                  Aug 17 '14 at 1:12






                • 1




                  @DaleE.Moore, it would just open it as regular Python files. The only issue is that Django is not integrated into the IDE, so you'd have to run the Django commands externally, such as runserver.
                  – Bobort
                  Oct 21 '14 at 20:23















                up vote
                17
                down vote













                If you look at the features edition comparison matrix, you will see that only Pycharm professional supports the Django Framework.



                You can setup a project from the command line using the manage.py script and just open it in Pycharm. Then use the terminal to sync, start server etc...



                You can use Eclipse py-dev with http://pydev.org/manual_adv_django.html, I have not tried it so I cannot say how good or bad it is.



                There is a tutorial on setting up a new project here



                Wingware also seem to have some Django support.






                share|improve this answer



















                • 1




                  So much from free IDE. Can you suggest alternative free IDE for Python/Django?
                  – user3676356
                  May 26 '14 at 12:54










                • @user3676356, I added to my answer.
                  – Padraic Cunningham
                  May 26 '14 at 13:01






                • 1




                  +1 for Eclipse with PyDev, It can be a bit of a chore at the start but i love it now. PyDev has Django support as well. Youtube videos how setting up Django projects in Pydev are a very quick way to learn it.
                  – Deepend
                  May 26 '14 at 14:59










                • What happens when Community pyCharm users open Professional pyCharm projects with Django extensions?
                  – Dale E. Moore
                  Aug 17 '14 at 1:12






                • 1




                  @DaleE.Moore, it would just open it as regular Python files. The only issue is that Django is not integrated into the IDE, so you'd have to run the Django commands externally, such as runserver.
                  – Bobort
                  Oct 21 '14 at 20:23













                up vote
                17
                down vote










                up vote
                17
                down vote









                If you look at the features edition comparison matrix, you will see that only Pycharm professional supports the Django Framework.



                You can setup a project from the command line using the manage.py script and just open it in Pycharm. Then use the terminal to sync, start server etc...



                You can use Eclipse py-dev with http://pydev.org/manual_adv_django.html, I have not tried it so I cannot say how good or bad it is.



                There is a tutorial on setting up a new project here



                Wingware also seem to have some Django support.






                share|improve this answer














                If you look at the features edition comparison matrix, you will see that only Pycharm professional supports the Django Framework.



                You can setup a project from the command line using the manage.py script and just open it in Pycharm. Then use the terminal to sync, start server etc...



                You can use Eclipse py-dev with http://pydev.org/manual_adv_django.html, I have not tried it so I cannot say how good or bad it is.



                There is a tutorial on setting up a new project here



                Wingware also seem to have some Django support.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited May 26 '14 at 13:08

























                answered May 26 '14 at 12:50









                Padraic Cunningham

                131k12113185




                131k12113185








                • 1




                  So much from free IDE. Can you suggest alternative free IDE for Python/Django?
                  – user3676356
                  May 26 '14 at 12:54










                • @user3676356, I added to my answer.
                  – Padraic Cunningham
                  May 26 '14 at 13:01






                • 1




                  +1 for Eclipse with PyDev, It can be a bit of a chore at the start but i love it now. PyDev has Django support as well. Youtube videos how setting up Django projects in Pydev are a very quick way to learn it.
                  – Deepend
                  May 26 '14 at 14:59










                • What happens when Community pyCharm users open Professional pyCharm projects with Django extensions?
                  – Dale E. Moore
                  Aug 17 '14 at 1:12






                • 1




                  @DaleE.Moore, it would just open it as regular Python files. The only issue is that Django is not integrated into the IDE, so you'd have to run the Django commands externally, such as runserver.
                  – Bobort
                  Oct 21 '14 at 20:23














                • 1




                  So much from free IDE. Can you suggest alternative free IDE for Python/Django?
                  – user3676356
                  May 26 '14 at 12:54










                • @user3676356, I added to my answer.
                  – Padraic Cunningham
                  May 26 '14 at 13:01






                • 1




                  +1 for Eclipse with PyDev, It can be a bit of a chore at the start but i love it now. PyDev has Django support as well. Youtube videos how setting up Django projects in Pydev are a very quick way to learn it.
                  – Deepend
                  May 26 '14 at 14:59










                • What happens when Community pyCharm users open Professional pyCharm projects with Django extensions?
                  – Dale E. Moore
                  Aug 17 '14 at 1:12






                • 1




                  @DaleE.Moore, it would just open it as regular Python files. The only issue is that Django is not integrated into the IDE, so you'd have to run the Django commands externally, such as runserver.
                  – Bobort
                  Oct 21 '14 at 20:23








                1




                1




                So much from free IDE. Can you suggest alternative free IDE for Python/Django?
                – user3676356
                May 26 '14 at 12:54




                So much from free IDE. Can you suggest alternative free IDE for Python/Django?
                – user3676356
                May 26 '14 at 12:54












                @user3676356, I added to my answer.
                – Padraic Cunningham
                May 26 '14 at 13:01




                @user3676356, I added to my answer.
                – Padraic Cunningham
                May 26 '14 at 13:01




                1




                1




                +1 for Eclipse with PyDev, It can be a bit of a chore at the start but i love it now. PyDev has Django support as well. Youtube videos how setting up Django projects in Pydev are a very quick way to learn it.
                – Deepend
                May 26 '14 at 14:59




                +1 for Eclipse with PyDev, It can be a bit of a chore at the start but i love it now. PyDev has Django support as well. Youtube videos how setting up Django projects in Pydev are a very quick way to learn it.
                – Deepend
                May 26 '14 at 14:59












                What happens when Community pyCharm users open Professional pyCharm projects with Django extensions?
                – Dale E. Moore
                Aug 17 '14 at 1:12




                What happens when Community pyCharm users open Professional pyCharm projects with Django extensions?
                – Dale E. Moore
                Aug 17 '14 at 1:12




                1




                1




                @DaleE.Moore, it would just open it as regular Python files. The only issue is that Django is not integrated into the IDE, so you'd have to run the Django commands externally, such as runserver.
                – Bobort
                Oct 21 '14 at 20:23




                @DaleE.Moore, it would just open it as regular Python files. The only issue is that Django is not integrated into the IDE, so you'd have to run the Django commands externally, such as runserver.
                – Bobort
                Oct 21 '14 at 20:23










                up vote
                6
                down vote













                I have met the problems today. At last, I finished it by:




                1. Create project in command line

                2. Create app in command line

                3. Just open the existing files and code in pycharm


                The way I use have the benefits:




                • don't need by professional pycharm

                • code django project in pycharm






                share|improve this answer



























                  up vote
                  6
                  down vote













                  I have met the problems today. At last, I finished it by:




                  1. Create project in command line

                  2. Create app in command line

                  3. Just open the existing files and code in pycharm


                  The way I use have the benefits:




                  • don't need by professional pycharm

                  • code django project in pycharm






                  share|improve this answer

























                    up vote
                    6
                    down vote










                    up vote
                    6
                    down vote









                    I have met the problems today. At last, I finished it by:




                    1. Create project in command line

                    2. Create app in command line

                    3. Just open the existing files and code in pycharm


                    The way I use have the benefits:




                    • don't need by professional pycharm

                    • code django project in pycharm






                    share|improve this answer














                    I have met the problems today. At last, I finished it by:




                    1. Create project in command line

                    2. Create app in command line

                    3. Just open the existing files and code in pycharm


                    The way I use have the benefits:




                    • don't need by professional pycharm

                    • code django project in pycharm







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Sep 10 '15 at 4:47









                    FelisCatus

                    2,66611523




                    2,66611523










                    answered Sep 10 '15 at 4:02









                    onebraveman

                    16119




                    16119






















                        up vote
                        0
                        down vote













                        Pycharm integration with Django. Please try below steps for integration.



                        1. Add Django plugin inside your python interpreter



                        enter image description here



                        Click + icon for installation of Django



                        enter image description here
                        Click on the install package, it will take some time for installation.



                        2. Check Django installation:




                        create a sample.py file




                          import django
                        print(django.get_version())


                        3. Open the terminal and entered



                        django-admin startproject mysite(name of your project)


                        4. Run Server



                        cd mysite
                        python manage.py runserver



                        You are able to start Django server at http://127.0.0.1:8000/




                        5. Create the application



                        Open the another terminal and entered



                         cd mysite
                        python manage.py startapp webapp(name of your app)


                        Please refer for more detail: https://www.youtube.com/watch?v=RUeLWSrtcFc






                        share|improve this answer

























                          up vote
                          0
                          down vote













                          Pycharm integration with Django. Please try below steps for integration.



                          1. Add Django plugin inside your python interpreter



                          enter image description here



                          Click + icon for installation of Django



                          enter image description here
                          Click on the install package, it will take some time for installation.



                          2. Check Django installation:




                          create a sample.py file




                            import django
                          print(django.get_version())


                          3. Open the terminal and entered



                          django-admin startproject mysite(name of your project)


                          4. Run Server



                          cd mysite
                          python manage.py runserver



                          You are able to start Django server at http://127.0.0.1:8000/




                          5. Create the application



                          Open the another terminal and entered



                           cd mysite
                          python manage.py startapp webapp(name of your app)


                          Please refer for more detail: https://www.youtube.com/watch?v=RUeLWSrtcFc






                          share|improve this answer























                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            Pycharm integration with Django. Please try below steps for integration.



                            1. Add Django plugin inside your python interpreter



                            enter image description here



                            Click + icon for installation of Django



                            enter image description here
                            Click on the install package, it will take some time for installation.



                            2. Check Django installation:




                            create a sample.py file




                              import django
                            print(django.get_version())


                            3. Open the terminal and entered



                            django-admin startproject mysite(name of your project)


                            4. Run Server



                            cd mysite
                            python manage.py runserver



                            You are able to start Django server at http://127.0.0.1:8000/




                            5. Create the application



                            Open the another terminal and entered



                             cd mysite
                            python manage.py startapp webapp(name of your app)


                            Please refer for more detail: https://www.youtube.com/watch?v=RUeLWSrtcFc






                            share|improve this answer












                            Pycharm integration with Django. Please try below steps for integration.



                            1. Add Django plugin inside your python interpreter



                            enter image description here



                            Click + icon for installation of Django



                            enter image description here
                            Click on the install package, it will take some time for installation.



                            2. Check Django installation:




                            create a sample.py file




                              import django
                            print(django.get_version())


                            3. Open the terminal and entered



                            django-admin startproject mysite(name of your project)


                            4. Run Server



                            cd mysite
                            python manage.py runserver



                            You are able to start Django server at http://127.0.0.1:8000/




                            5. Create the application



                            Open the another terminal and entered



                             cd mysite
                            python manage.py startapp webapp(name of your app)


                            Please refer for more detail: https://www.youtube.com/watch?v=RUeLWSrtcFc







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 2 days ago









                            jitesh mohite

                            3,35811332




                            3,35811332






























                                 

                                draft saved


                                draft discarded



















































                                 


                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f23870365%2fhow-to-setup-django-project-in-pycharm%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest




















































































                                Popular posts from this blog

                                Bressuire

                                Vorschmack

                                Quarantine