Comments on How To Install Django On Debian Etch (Apache2/mod_python)

How To Install Django On Debian Etch (Apache2/mod_python) This tutorial explains how to install Django on a Debian Etch server. Django is a web framework that allows to develop Python web applications quickly with as much automation as possible. I will use it with Apache2 and mod_python in this guide.

8 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By:

I don't think it's useful to disable the local-only listening for MySQL, since you're not connecting from a remote host to the MySQL server.

By: Anonymous

The practice of doing what  the author said came from when networking was off and you it was therefore incompatible with django, so a lot of people just turned off security by habit.

 Being bound to 127.0.0.1 and the socket should work just fine, unless you have a separate database server.

By: Anonymous

Thanks a lot man, it works perfectly following your instructions!

By: Anonymous

Great tutorial, super easy and super clear. How about one on alternatives to mod python? 

By: RadicalEd

I've tried everything and nothing work for me, this was the best, now my Django project is working with Apache.

THANKS

By: zeksar

Yeah!

Great!

thx a lot!

By: Jojo Maquiling

Thanks I have followed your instruction installing on my Debian Squeeze. Its working. You're a great help. More power to you.

By: Joe Langst

My setting.py reads: 

DATABASES = {
    'default': {                                                                                                                                        'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
       'NAME': '',                      # Or path to database file if using sqlite3.
        'USER': '',                      # Not used with sqlite3.
        'PASSWORD': '',                  # Not used with sqlite3.
        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
        'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
   }
}