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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T04:55:46+00:00 2026-05-19T04:55:46+00:00

I have done everything said on the following page. https://help.ubuntu.com/community/Django but it gives me

  • 0

I have done everything said on the following page.

https://help.ubuntu.com/community/Django

but it gives me an error page.

MOD_PYTHON ERROR

ProcessId: 2220 Interpreter:
‘localhost.localdomain’

ServerName:
‘localhost.localdomain’ DocumentRoot:
‘/etc/apache2/htdocs’

URI: ‘/’ Location:
‘/’ Directory: None Filename:
‘/etc/apache2/htdocs’ PathInfo:
‘/’

Phase: ‘PythonHandler’
Handler:
‘django.core.handlers.modpython’

Traceback (most recent call last):

File
“/usr/lib/python2.6/dist-packages/mod_python/importer.py”,
line 1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)

File
“/usr/lib/python2.6/dist-packages/mod_python/importer.py”,
line 1229, in _process_target
result = _execute_target(config, req, object, arg)

File
“/usr/lib/python2.6/dist-packages/mod_python/importer.py”,
line 1128, in _execute_target
result = object(arg)

File
“/usr/lib/pymodules/python2.6/django/core/handlers/modpython.py”,
line 228, in handler
return ModPythonHandler()(req)

File
“/usr/lib/pymodules/python2.6/django/core/handlers/modpython.py”,
line 191, in call
self.load_middleware()

File
“/usr/lib/pymodules/python2.6/django/core/handlers/base.py”,
line 33, in load_middleware
for middleware_path in settings.MIDDLEWARE_CLASSES:

File
“/usr/lib/pymodules/python2.6/django/utils/functional.py”,
line 276, in getattr
self._setup()

File
“/usr/lib/pymodules/python2.6/django/conf/init.py”,
line 40, in _setup
self._wrapped = Settings(settings_module)

File
“/usr/lib/pymodules/python2.6/django/conf/init.py”,
line 75, in init
raise ImportError(“Could not import settings ‘%s’ (Is it on
sys.path? Does it have syntax
errors?): %s” % (self.SETTINGS_MODULE,
e))

ImportError: Could not import settings
‘examples.settings’ (Is it on sys.path? Does it have syntax errors?): No module named examples.settings

what could be wrong?

complete noob here.

  • 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-19T04:55:47+00:00Added an answer on May 19, 2026 at 4:55 am

    If you are deploying django project for production under ubuntu server it is recommended to use WSGI. Just fallow the django documentation: https://docs.djangoproject.com/en/1.3/howto/deployment/modwsgi/

    Installing apache with wsgi under ubuntu is easy:

    apt-get install libapache2-mod-wsgi
    

    In case you just want to explore django you do not need to setup apache or anything. Just use manage.py runserver instead.

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

Sidebar

Related Questions

I have built a PHP calendar system and have pretty much everything done but
I have done some research on this and everything said / suggested so far
I have done everything i know about MERGE in this fiddle but am not
I have done everything correctly till the 4th step as mentioned on this page.
I have done everything that is on the web (i think) i have the
i am using php 5.2.4 with wampserver. everything is going fine. i have done
I have done an email approval script following James Ferreira's youtube tutorial here .
I have done some looking and I found this: http://www.codeproject.com/Articles/14439/The-ScrollableListBox-Custom-Control-for-ASP-NET-2 but to me it
What is wrong with this code jsFiddle . I have done everything that the
I think I have done everything to set up my app launch icon correctly

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.