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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:53:49+00:00 2026-05-26T22:53:49+00:00

Short Question 1 What constitutes a production environment defined in Django’s documentation about 1/2

  • 0

Short Question 1
What constitutes a production environment defined in Django’s documentation about 1/2 the way through?

Short Question 2
Is there any documented cases of the admin interface corrupting the database if multiple people access the DB simultaneously?

Background
I have used Django as an ORM for a PostgreSQL server. Because the app’s primary use is an ORM, it runs on the client machine to talk to a remote server. Thus far to access the admin web interface I run python manage.py runserver which hosts a small web server on my local host (127.0.0.1:8000) to access it.

This approach has worked except that anytime I need to fix a data entry or look something up, I have to be on a machine that has the application installed / running on it. My fix for this was to launch the application’s admin interface from the Ubuntu server and give it a real IP address. Note that the real IP address is on our local intranet and is behind a firewall. I tested simultaneous access with two people with no issues, seeing no errors I added this python process as a system process via Ubuntu’s Upstart.

A long term goal would be to install Apache and Mod_WSGI to host the application. However with such a small team (3 people at any given time), is it even necessary to go through the hassle? Note that if we ever opened this up to the outside world, the question becomes moot and Apache is a must.

  • 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-26T22:53:50+00:00Added an answer on May 26, 2026 at 10:53 pm

    If you’re not using the development server for development of the django project, it sounds like production to me. Is deploying your application with Apache and mod WSGI worth the hassle? That’s up to you, but the advice of the Django developers is pretty unambiguous.

    DO NOT USE THIS SERVER IN A PRODUCTION SETTING. It has not gone through security audits or performance tests. (And that’s how it’s gonna stay. We’re in the business of making Web frameworks, not Web servers, so improving this server to be able to handle a production environment is outside the scope of Django.)

    For your second question, I’m not sure what you mean by ‘corrupted’. If two users are changing the same object at the same time, the second user to save can inadvertently revert the first user’s changes:

    Consider two users editing the same Person. The first user changes the first name, then the second user changes the second name. Because the second user loaded the change page before the first user saved, the first name is changed back to Joe.

    | Description   | First Name | Second Name  |
    =============================================
    | initial value | Joe        | Smith        |
    | first user    | Joseph     | Smith        |
    | second user   | Joe        | Bloggs       |
    =============================================
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just a very short question about DropBox - is there any way to find
Short Question : Since DNS is anycast, is there any way for a DNS
Short Question Are there any compelling reasons to update Django 1.2.5 to 1.3? If
Very short question: Is there a more elegant way to do this: Object tmp;
Short question: is there a way to make a jsonp request to a server,
Short question: is there a way to access the datatypes available in .net application
Short question. Dojo's query module always returns an array of nodes. Is there any
I've got a short question that I've been wondering about for a while. There
Short Question: Is there any nosql flat-file database available as sqlite? Explanation: Flat file
Short question: Is there a simple way in LINQ to objects to get a

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.