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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:07:31+00:00 2026-05-27T11:07:31+00:00

I am new to django development (I was working with MS and Oracle/Java stack).

  • 0

I am new to django development (I was working with MS and Oracle/Java stack). I now how important it is to prepare your dev environment right. I have web server with some small django project I am going to expand, pycharm IDE (checked possibilities and chosen this one) on windows. Project is not in any version control but I am going to put it into git later.

My question is – how to configure environment and import my project into it? Is it possible to put my devproject into virtual machine and edit it in pycharm from windows (tried but didnt know how to do it) or do I have to install django on windows? I am a little reluctant to install all this staff on my workstation but it may be necessary. Is it possible to install django modules only for this project and not pollute my global python environment?

This may be obvious for regular django devs but I am little lost.

  • 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-05-27T11:07:32+00:00Added an answer on May 27, 2026 at 11:07 am

    Since I wrote this answer, PyCharm has greatly expanded their support for virtual environments; and now you can create virtual environments when starting projects.

    For more information, see PyCharm online documentation.


    I use PyCharm on Windows at work, and this process works for me (since PyCharm doesn’t support virtual env in the project creation stage). You have to put the django libraries on your development machine for the code hinting and method signatures to work.

    To do this, you need to first install setuptools and then install pip in your system python.

    For New Projects

    1. First create your virtual environment, this will avoid polluting your base python install.

      D:\>virtualenv --no-site-packages myenv

      New python executable in myenv\Scripts\python.exe

      Installing setuptools................done.

      Installing pip...................done.

    2. Next, switch into this env:

      D:\>myenv\Scripts\activate

      (myenv)D:\>

    3. Install django into this environment: pip install django, and any other libs you might need for this project.

    4. Run PyCharm and File > New Project

    5. Give your project a name and select Django project from the Project type drop down

    6. On the next screen, click the button to the right of the python interpreter, and browse to your virtual environment, and select the directory with the python.exe file.

    Now your project is setup to only use the virtualenv python. Once you are done developing, you can freeze your install and replicate it on your testing environment.

    Once you are done, you can simply delete the directory myenv to remove the project-specific libs.

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

Sidebar

Related Questions

I'm new to Django but I seem to have nearly identical code working on
I've got a django project working on a development server(ubuntu) that we have been
I'm working on a new Django project, and the client wants to feature content
I'm new to Django, but the application that I have in mind might end
I'm rather new to Django and I'm using Django 1.0. I have this: forms.py:
I am new to using Frameworks for web development and I have noticed that
We are working on a new web site using Apache, Python and Django. In
I am new to django development and overall web app development, but I am
Let's assume that you are working at the first version of a new Django
I have a new Django 1.3 project and app that I've created. I added

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.