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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T04:03:53+00:00 2026-06-07T04:03:53+00:00

I was trying to create a new application on Gondor, and I was getting

  • 0

I was trying to create a new application on Gondor, and I was getting this error:

Error: Could not import settings 'dt.conf.production' (Is it on sys.path?): No module named dt.conf.production.

I confirmed that the file exists, however, and even did “import production from dt.conf” in a shell successfully.

  • 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-07T04:03:54+00:00Added an answer on June 7, 2026 at 4:03 am

    There were a pair of issues here. Here they are in order of increasing embarrassment.

    First, make sure you have the parent directory added to sys.path. Your wsgi.py file should look like this:

    import os
    import sys
    
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dt.conf.production")
    
    # Add parent dir to path
    sys.path.insert(0, os.path.abspath(
        os.path.join(os.path.abspath(os.path.dirname(__file__)),
        os.pardir)))
    
    from django.core.wsgi import get_wsgi_application
    application = get_wsgi_application()
    

    Second, and this is the one that killed me, remember that when you call gondor deploy, it’s going to take whatever is in your repository. So, in my case, I had to do

    git add conf
    git commit
    

    and then do

    gondor deploy primary master
    

    Hope it helps!

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

Sidebar

Related Questions

I am trying to create a new web application using PowerShell. I keep getting
I am getting the following message when trying to create a new Silverlight application
Here's the response I keep getting when trying to create a new activity: {error:{errors:[{message:Unknown
Im trying to create application from scratch. In new maven project i add a
Im trying to create new file on D: drive with c/c++ I found this
I am trying to create a new web application in Web service. I am
I'm creating a Ruby on Rails application, and I'm trying to create/login/logout users. This
I'm trying desperately to create a catalog (. In) for my new application in
I'm just trying to figure out why when I create a new rails application,
So I have been trying to create a new RESTfull web application project in

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.