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 7778411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:23:23+00:00 2026-06-01T18:23:23+00:00

I started to create in Django sample project, first command: django-admin.py startproject test gives

  • 0

I started to create in Django sample project, first command:

django-admin.py startproject test

gives me:

- root
  - test
    - __init__.py 
    - settings.py 
    - urls.py 
    - wsgi.py 
    - manage.py

Now I create first app:

python manage.py startapp foo

it created for me folder root/foo

so how I should understand my root/test folder. Is this folder for global config of my project and nothing more? (similar to Symfony 2 app folder)

I am confused because Django docs tells:

The inner mysite/ directory is the actual Python package for your
project

but manage.py startapp foo create app under root, not under root/test (mysite equivalent)

[EDIT]

Two commands:

python manage.py startapp app

and:

django-admin.py startapp app

gives me app inside project root, not under root/name_of_generated_project

Django 1.4

[EDIT] 2

Sorry guys, my fault, now is everything ok.

[EDIT] 3

I want to create another project again:

django-admin.py startproject jobeet

my initial structure is similar to above.

Now I want to try create app (inside jobeet folder):

django-admin.py startapp jobs

and I end up with jobeet/jobs not jobeet/jobeet/jobs

again :/

so inside my project root I have:

- jobeet
- jobs
- manage.py

another command:

python manage.py startapp app

gives me the same result

  • 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-01T18:23:25+00:00Added an answer on June 1, 2026 at 6:23 pm

    So let’s say you create a new Django project testproject:

    django-admin.py startproject testproject

    This creates a new project with the following minimal set of files:

    testproject/
    ├── __init__.py
    ├── manage.py
    ├── settings.py
    └── urls.py
    

    To create a new app for your first site mysite1 go into testproject directory and run:

    python manage.py startapp mysite1

    which results in a new directory mysite1 for the mysite1 app.

    I.e. with just these two commands you would arrive at this hierarchy:

    testproject/
    ├── __init__.py
    ├── manage.py
    ├── mysite1
    │   ├── __init__.py
    │   ├── models.py
    │   ├── tests.py
    │   └── views.py
    ├── settings.py
    └── urls.py
    

    Refer to the django-admin.py and/or manage.py individual commands here.

    In Django there is a one-to-many relationship between a project and an app. An app is usually one individual site component (e.g. comments, ratings), whereas a project is an organisation of several apps and can power many different sites. That’s why you get the sites framework. In practice, one project usually serves one website, but with Django sites app with one project you can serve as many websites as you like, for reusability’s sake.

    P.S. I think creating a project simply called test is not a good practice because with Django unit tests at app level unit tests will go into a file called tests.py or within a folder called tests.

    UPDATE for Django 1.4

    As @zeantsoi has commented below, my answer:

    applies to Django 1.3 and prior. Per the docs, beginning in 1.4, base
    configuration files (including settings.py, urls.py, and wsgi.py) are
    abstracted into a subdirectory titled the same name as the project.

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

Sidebar

Related Questions

I am following the http://wiki.fluentnhibernate.org/Getting_started tutorial to create my first NHibernate project with Fluent
I wanted to create jquery plugin & started off creating a sample jquery plugin...But
When I first started looking into Rails and Django I was steered away from
recently I started a small Django project that I developed on a local machine
I just started to create a image viewer as a project but I was
I`ve followed the guidelines in http://celeryq.org/docs/django-celery/getting-started/first-steps-with-django.html and created a view that calls my test
thanks in advance for the replies.... I have started to create a network topology
I started a grails application by grails create-app. For modularity, I feel like it
I started to do some experimentation with iisnode and expressjs to create a REST
I created a server program that will be started as root. After it is

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.