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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T06:27:27+00:00 2026-05-30T06:27:27+00:00

I am of the PHP background and just have started to learn Django and

  • 0

I am of the PHP background and just have started to learn Django and Python (and loving it). I always used to install WAMP server for PHP development.

Now I dont know how do I configure Django to use PostgreSQL i.e how to make both communicate with each other. I have run some ‘hello world’ scripts with django. Curretly I have installed Python, django and PostgreSQL. here is the version information

  1. Python : 2.7.2 & 3.2 (i have installed both)
  2. Django : 1.3.1
  3. PostgreSQL : 9.1.2
  4. Apache : 2.2 (..this is from WAMP server)
  5. Os : Ms Windows 7 32-bits (x86)

Since django has builtin development server is it at all necessary to have apache installed and use it instead of that one? If we use the built-in server how we are supposed to configure it for PostgreSQL?.

  • 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-30T06:27:29+00:00Added an answer on May 30, 2026 at 6:27 am

    It is not necessary to have apache installed to develop on django. In fact it is often easier to use the development server because it is single threaded, lightweight, and extremely easy to use. python manage.py runserver 0.0.0.0:8080 to run on localhost port 8080, and your code is easily debuggable.

    In django you dont configure your server for a database. You configure your project for a database. All database configurations are kept in the settings.py file located in your main project. Page one of the tutorial explains how to set up a database for your django prject. YOu have to specify, database name, host, port, user and password in your settings.py file.
    https://docs.djangoproject.com/en/dev/intro/tutorial01/#database-setup

    I would suggest walking through the django tutorial as it addresses most of the issues in setting up development on a new django project.
    https://docs.djangoproject.com/en/dev/intro/tutorial01/

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

Sidebar

Related Questions

I'm moving from a PHP background into Django development via python, mostly for the
I´m trying to learn C#, coming from a Python/PHP background, and I´m trying to
Good day. I have a PHP & MySql background, and I'm just starting with
I have just started learning Python & have come across namespaces concept in Python.
I come from a PHP background and I'm just getting my teeth into some
Coming from a PHP background, I'm used to writing small functions that return a
if i have a php background job, may need to run 4-5hours or more
I come from PHP background and am used to doing var_dump , echo and
I'm not too used to ORM mapping, having come from a PHP background. I'm
Though I come from a purely PHP background on the web development side of

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.