PyCharm 2016.3 Help

Creating Django Project

Django project is intended for productive web development with Django. PyCharm takes care of creating specific directory structure and files required for a Django application, and providing the correct settings.

To create a Django project

  1. On the main menu, choose File | New | Project, or click the New Project button in the Welcome screen. Create New Project dialog box opens.
  2. In the Create New Project dialog box, specify the following:
    • Project name and location.
    • Project type Django project.
    • In the Python Interpreter drop-down list, select the Python SDK you want to use. If the desired interpreter is not found in the list, click /help/img/idea/cogwheel_framed.png and choose the interpreter type.

      Refer to the section Configuring Available Python Interpreters.

    • If Django is missing in the selected interpreter, PyCharm displays an information message that Django will be downloaded.
  3. Click /help/img/idea/arrow_down_hide_settings.png (More Settings), and specify the following:
    • The Django application name.
    • The directory where the templates will be stored.
    • If necessary, select the check box Enable Django admin.
  4. Click Create.

See Also

Last modified: 23 November 2016