How can I open projects faster/programmatically

In my work, I open a lot of Django projects with PyCharm. I really need some way to configure the project settings faster. Specifically, each time I open a new project, I have to:
  • Add virtualenv t PyCharm (I create it o the command line first)
  • Set Python interpreter (the virtualenv I just created)
  • Enable Django support (three settings)
  • Set source folder as "source root" in project tree

These settings are the same or could be set programmatically across all projects. I was thinking of making a Python script I could run before I open the project in PyCharm and it would create the .idea directory with the necessary configuration files. Has anyone done something like this before?

Please sign in to leave a comment.