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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:45:55+00:00 2026-05-18T06:45:55+00:00

Any best practice or recommended project layouts for a django project in eclipse? In

  • 0

Any “best practice” or “recommended” project layouts for a django project in eclipse?

In my eclipse it looks like this:

project name
-src
--project name
---__init__.py
---manage.py
---settings.py
---urls.py
---apps
----app1
-----__init__.py
-----forms.py
-----urls.py
-----views.py
-----templates
------app1
-------index.html

I’m not sure how I like this layout, especially the repetition of the app name in the templates folder. I think I did it that way to make my url configs behave, but I’m new to django so that could be another place for improvement.

  • 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-18T06:45:56+00:00Added an answer on May 18, 2026 at 6:45 am

    you know you can create a django project without the src folder in eclipse which i think will be much cleaner; to do this when you want to create a new Django project the widget that ask for the name of the project in the bottom you can disable Create default “scr” … .

    And i don’t think it’s a good idea to put all Django application like you did you can put related application in the some folder but not all of them , and for the template i think you have the choice to put one template directory in the some level as settings.py where you can have the same structure as your apps or to put a template directory in each application but i prefer the first one like this:

    project_name
      |
      | --- manage.py
      |
      | --- settings.py
      |
      | --- template
              |
              | -- index.html
              |
              | -- base.html
              |
              | -- 404.html
              | 
              | -- conection_app
              |         | 
                        | -- login.html
      |
      |
      | --- connection_app
              |
              | -- login
                     |
                     | -- view.py
      |
      |
      | --- finance_app 
      |        
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a best practice to document my C code. Like in any
Possible Duplicate: C# member variable initialization; best practice? Is there any benefit to this:
Is there any best practice data model for authentication/authorization scheme?
is there any best practice way to replace a part of the default template.
Just checking if there's any best practice when writing a Windows Service. The Service
Im searching for the best practice (or any working solution) for the following scenario:
What's the difference (if any) between model.__dict__['title_en'] and model.__getattribute__('title_en') and what's best practice ?
How do you deal with hierarchical URLs in Django? Any best practices for that?
Any recommended readings for setting up mongodb for sharding/scalability? I'm looking for best practices.
The recommended best practice is to set the current culture of the application's thread

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.