Django Connection To mySQL

All things Linux ...
User avatar
magicrat
Site Admin
Posts: 15
Joined: Sun Dec 14, 2014 12:33 pm
Location: Manassas, VA
Contact:

Django Connection To mySQL

Postby magicrat » Sun Dec 06, 2015 9:39 am

in "settings.py"

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'db_polls',
'USER': 'root',
'PASSWORD': 'x',
'HOST': 'localhost',
'PORT': '3306',
}
}
-- Rat

Image

Return to “Linux”

Who is online

Users browsing this forum: No registered users and 0 guests

cron

© 2008 MAGIC RAT PRODUCTIONS
SEE ME ON FACEBOOK
Facebook