

After creating a database user with these permissions, The tables, you can grant Django SELECT, INSERT, UPDATE andĭELETE permissions. If you plan to use Django’s manage.py migrate command to automaticallyĬreate database tables for your models (after first installing Django andĬreating a project), you’ll need to ensure that Django has permission to createĪnd alter tables in the database you’re using if you plan to manually create

If you can’t use mod_wsgi for some reason, fear not: Django supports many otherĭeployment options. Sure you have Apache installed with the mod_wsgi module activated.ĭjango will work with any version of Apache that supports mod_wsgi.įor information on how to configure mod_wsgi once you have it Consult the mod_wsgiĭocumentation to determine which mode is right for your setup. Without restarting the entire Apache web server, possibly making Process can run as a different user than the web server, possibly

In daemon mode, mod_wsgi spawnsĪn independent daemon process that handles requests. Life of an Apache process, which leads to significant performance Mod_perl – it embeds Python within Apache and loads Python code into mod_wsgi operates in one of two modes: embedded If you want to use Django on a production site, use Apache with Testing, so you won’t need to set up Apache until you’re ready to Section Django includes a lightweight web server you can use for If you just want to experiment with Django, skip ahead to the next
