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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:16:41+00:00 2026-05-26T07:16:41+00:00

My django project in eclipse has this project structure: main-project-folder/ src/ main-app/ app1/ app2/

  • 0

My django project in eclipse has this project structure:

main-project-folder/

                 src/
                        main-app/
                                 app1/
                                 app2/
                                 settings.py
                                 manage.py
                                 urls.py
                                 __init__.py
                 media/
                 templates/

Can i deploy the project with this structure? In other words, is right way to put src and other folders (media, tempaltes, etc.) in the root folder of my server (where my domain is linked)?

Like:

my-server-folder/

             src/
             media/
             ...

I imagine that in my-server-folder i should put the entry point of project, but in my project i haven’t an entry point in main-project-folder, or does django automatically redirect to an entry point of src/main-app folder (i think that it doesn’t because i don’t find any options that say to django to do it)?

  • 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-26T07:16:41+00:00Added an answer on May 26, 2026 at 7:16 am

    Sure. That’s a fine directory structure.

    Keep in mind your web server isn’t going to know what to do with the Django project unless you tell it. If your web server is Apache (which it probably is if you don’t know) look here for instructions to set it up to run the Django app:

    https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/

    And here for WSGI:

    http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango

    Django apps aren’t like PHP where you just upload them to the web server and they work.

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

Sidebar

Related Questions

I've got a django project that contain some apps. The main urls.py includes the
This is a simple structure in my project: MyAPP--- note--- __init__.py views.py urls.py test.py
I have a Django project, let's say project1. Typical folder structure for applications is:
I've got a Django project that has multiple settings files (www site, mobile site,
I have a Django project with one app called subscribe . In root urls.py
it's fairly easy to set up Eclipse to run a django project's tests created
My Django project's directory hierarchy looks like this: + pybsd |---+ devices |---+ templates
So I have a django project I just created called 'coolprojectsite' the directory structure
In my Django project, my url.py module looks something like this: urlpatterns = patterns('',
Currently my Django project has a huge readme doc, that any developer, whishing to

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.