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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:29:51+00:00 2026-06-16T00:29:51+00:00

I have pydev/django installed in eclipse, and it runs fine. However, after adding a

  • 0

I have pydev/django installed in eclipse, and it runs fine. However, after adding a second django project to eclipse and running the server (‘http://127.0.0.1:8000’) the pythonpath seems to be stuck on project2 even when I run project1.

As a summary, I have two django projects: project1, project2. When I run the django server for project1 I get:

Validating models...

0 errors found
Django version 1.5, using settings 'project1.settings'
Development server is running at 'http://127.0.0.1:8000/'
Quit the server with CTRL-BREAK.

The above seems to suggest that django is using the correct settings file; however, when I go to ‘http://127.0.0.1:8000/’ it displays the urls from project2. Also, if I go to ‘http://127.0.0.1:8000/admin’ the models are getting pulled from the sqlite.db file in project2 as well. I’ve even tried removing project2 from eclipse entirely and now at ‘http://127.0.0.1:8000/admin’ I get this error:

Python Path:
[‘C:\Users\Brad\workspaces\In Progress\project2’,
‘C:\Users\Brad\workspaces\In Progress\project2’,
‘C:\Python27\DLLs’,
‘C:\Python27\lib’,
‘C:\Python27\lib\plat-win’,
‘C:\Python27\lib\lib-tk’,
‘C:\Python27’,
‘C:\Python27\lib\site-packages’,
‘C:\Windows\system32\python27.zip’]

If I run the server on a different port with project1 the path seems to be fine:
runserver 7000 –noreload

Then ‘http://127.0.0.1:7000/’ uses project1’s paths, but it doesn’t seem like I should have to do this.

Note: I have setup the run configurations as correctly as I know how. In the main tab, the project and main module both point to the correct project (project1), and the “PYTHONPATH that will be used in the run:” includes project1. Also, I have cleared my browser history, cookies, and everything that chrome would let me delete.

  • 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-16T00:29:52+00:00Added an answer on June 16, 2026 at 12:29 am

    The problems seems to be that you’re using the autoreload feature (in which case, you’re terminating the process on eclipse but the spawned process is still alive in that port). So, you have to manually go to the task manager (if on windows) and kill the child process.

    You should either use it with no autoreload or follow the steps at: http://pydev.org/manual_adv_django.html (in the end of the page) to have autoreload spawn a terminal for the child so that you know it’s alive.

    I opened a bug regarding that in Django previously: https://code.djangoproject.com/ticket/16982 and someone seems to have provided a patch to fix that at https://code.djangoproject.com/ticket/19137

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

Sidebar

Related Questions

I have a Django project in Eclipse PyDev. I have a file views.py which
I am trying to debug my Django project via Eclipse. The app works fine
I installed Eclipse and PyDev and I'm wondering if I have to setup anything
I have python 2.6.1 installed with django 1.3 and PyDev 2.0. I am able
I'm trying to get hold of Django. I use Pydev on Eclipse. I have
I am now moving to eclipse for my python development. I have pydev installed
I'm doing a Python project in Eclipse with PyDev. I have a main file
I have just installed PyDev plugin in Eclipse Juno but really don't have a
I have started a Eclipse PyDev project, and found out that BeautifulSoup was missing.
I'm using Django and PyDev/Eclipse. I just installed django-treebeard with setup.py install and it

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.