Tuesday, October 30, 2012

Re: Database setup

What i know now:
 
-------------------------------------- 
 
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'baan5c',
        'USER': '***',
        'PASSWORD': '*****',
        'HOST': 'MAURITIUS',
        'PORT': '1433',
    }
}
-------------------------------------- 
 
This will works, if my DB is a mysql. But I use MsSql.
The pyodbc is installed and i made connects over it, to the DB. But for settings.py, i cant find the base.py of this pyodbc.
Any idea where i can find it?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/-SD8TV-mOV4J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment