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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:56:08+00:00 2026-06-10T00:56:08+00:00

I have different projects under one folder in django. I am trying to get

  • 0

I have different projects under one folder in django. I am trying to get all caches variables from each settings.py to be displayed in one project A. So far, I have been able to access the local settings in A.
Using something like

<!-- language: lang-py -->
from django.conf import settings
def get_cache_settings():
    return settings.CACHES.keys()

Then I tried the following to get the settings from B but didn’t work

<!-- language: lang-py -->
from B.django.conf import settings 

also tried

<!-- language: lang-py -->
from B import django.conf.settings

The tree folder look like this:

Project/
       A/
         cache/
              urls.py
              view.py
         settings.py
       B/
         settings.py

Any suggestions?

  • 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-10T00:56:08+00:00Added an answer on June 10, 2026 at 12:56 am

    Django settings are project level, so there is no such thing as app settings.

    If you are talking about a settings.py file living in app directory A, just:

    from A import settings as A_settings
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two different projects and in one, I have a class that defines
In my system I have two different projects, one defining its interfaces and another
I have a system with 2 different projects, one is called LINQ_Extensions and the
I have several projects that build reusable libraries. All these projects are under source
I have inherited a VC++ solution and from one project (named IntersonWinDriver) I'm trying
I have different projects written in .NET 3.5 and some unit test projects to
Resource dictionary 03-11-2010 10:56 AM | I have two different projects. I linked a
I have two different .Net projects, hosted on github. I would like to create
I have developed three different versions(as different projects) of an app(large,normal,small). How can I
I have a worked on a couple different projects and I have seen two

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.