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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:55:20+00:00 2026-06-12T05:55:20+00:00

I am trying to set up my first project in Django in the most

  • 0

I am trying to set up my first project in Django in the most comfortable way for me.

I really like to use console for such thing like :

  • managing some project’s settings ( before running for instance )
  • version control
  • creating project from a template

I know I with Django I can do such thing with :

django-admin startproject, manage.py runserver and probably even more

But for coding I prefer to use Eclipse than console ( vim 😛 ).

So I want to import that already created project into Eclipse.

Import project option doesn’t recognize my Project’s folder as a valid folder for importing ( probably, because it has no file like .eclipse_project in it ).

I can do it this way New->Project-> select my Project’s folder as the content I want to start with.

This actually works, but the thing that annoys me is that I can’t add even one single PyDev module to this project, because there are no source folders, even though I have one folder with module called
__init__.py within. The project structure after executing this move is following :

mysite
   manage.py
   /mysite                  <- considered by PyDev not as source folder
        __init__.py
        urls.py
        settings.py
        wsgi.py

I could create source folder in the Project’s root folder and then move the content of mysite/mysite into it, but :

  • Won’t I break something in Django project’s structure?
  • I don’t want to do that everytime I create a django project?
  • Is there an option to change type of that /mysite folder to source folder ?

Am I doing something wrong?

I also tried an option to create Django project using :

New->Django project-> I am getting the same structure, which either doesn’t have source folder

btw. what is the recommended django project’s structure ?

  • 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-06-12T05:55:22+00:00Added an answer on June 12, 2026 at 5:55 am

    I’m using Eclipse as my Django coding environment and you do not need a source folder. Just use the folder structure as it is provided by Django. The init.py shows python that this folder is actually a python module.

    The command django-admin.py startproject myproject will by default, create a new directory ‘myproject’ (=lets call it the project workspace folder) which contains a manage.py and a project package folder (also named ‘myproject’, containing a settings.py and other files).

    You can rename the project workspace folder as you want, it does not change anything. Do not rename the project package (unless you know what you do), as the settings.py is referencing to this folder or exactly, is referencing to this module.

    Having created your folder structure, go to Eclipse and create a new project selecting the project workspace folder, and you are ready.

    This is a very lightweight setup, and you cannot run any django commands from Eclipse this way. Nevertheless I would recommend using the terminal / console for running Django commands, as it is very handy.

    In order that Eclipse will be able to jump from one file to the other, using the command “cmd + mouseclick” on a method or similar, you have to include your project workspace folder into the system PYTHONPATH in Eclipse. Just go to Eclipse - Preferences - PyDev - Interpreter Python and add your folder via the button New Folder. See screenshot below:

    enter image description here

    I can also recommend the Django text editor plugin for Eclipse.

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

Sidebar

Related Questions

I'm trying to create a database in my first Django project (called meu_blog). I've
I'm brand new at Ruby. Trying to set up the first application/project using Aptana
I'm trying to set up my first scala lift project in Eclipse and it
Ok, dumb question. I'm trying to set up my first TypeMock demo project in
I'm trying to set up a test project looking like my own project just
I am trying to create very first project using django but stuck at very
I am trying to build my first Django project from scratch and am having
This is my first time trying to set up a database. My intent is
I'm trying to set up a query that shows the first post of each
I am trying to set up SSH connection to Bitbucket using Mercurial. I first

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.