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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:03:13+00:00 2026-05-26T21:03:13+00:00

I recently made some changes to my development environment and came across a problem.

  • 0

I recently made some changes to my development environment and came across a problem. I have a Django project in eclipse (using Pydev through the Aptana plugin), and I haven’t been able to use any of my custom django commands.

If I try to run a custom command, I get the following output:

Unknown command: 'resetdb'
Type 'manage.py help' for usage.

…But if I run the command from the command line, it works.

I’ve tried debugging, to see why the custom command doesn’t run, and it looks like django can’t find <project_name>.management, but I’m not sure why this previously worked.

Any ideas as to why I can’t get custom commands working?

In case it’s a problem with any of the software (and not my project), I have the following setup:

  • Eclipse Galileo (3.5.2)
  • Django 1.3
  • Aptana Studio 3.0.6
  • Python 2.6
  • Ubuntu 10.10

EDIT:

Project structure is as follows:

  • Project/
    • src/
      • Main/
        • management/
          • commands/
            • custom_command.py
        • manage.py
        • settings.py

Installed Apps:

INSTALLED_APPS = (
    'Main', # Enables us to use custom commands
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'django.contrib.admin',
    #... plus apps for the project
)
  • 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-26T21:03:14+00:00Added an answer on May 26, 2026 at 9:03 pm

    When you run your custom commands from Eclipse, make sure the correct settings.py file is being used to start the environment. If Eclipse is somehow invoking the command with a default settings.py that doesn’t have your apps listed, this is the effect you would see.

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

Sidebar

Related Questions

I have recently made some changes to my hosting account and a script I
I recently made some changes to my MVC 3 project. When I run it,
I have an iPhone app that is using CoreData. I recently made some minor
I'm working on a site that is using Facebook Connect and recently made some
I have recently reinstalled MacOSX, and at some point (without realizing it) I made
I am using the following plugin http://imageflow.finnrudolph.de/ and made some custom changes It is
So I recently made some changes to one of my tableviews and I noticed
I recently started tracking changes for my project with Mercurial. I made several revisions
In a game that I mod for they recently made some changes which broke
Our project is an Eclipse RCP application using Hibernate as an ORM. I recently

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.