dgrafx
asked on
use mssql with django
i'm brand new - still installing
how do i "install" the ability to use an mssql db?
how do i "install" the ability to use an mssql db?
ASKER
thanks Dave - will check it out
ASKER
Dave - earlier before you posted I was reading the docs and came across code like this:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite 3',
'NAME': 'mydatabase'
}
}
WHERE can i find this code?
Is this a python file? extension of .py?
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite
'NAME': 'mydatabase'
}
}
WHERE can i find this code?
Is this a python file? extension of .py?
SQLite comes with Django. See here for more info: https://docs.djangoproject.com/en/1.6/ref/settings/#std:setting-DATABASES
ASKER
Dave
What i mean is where are the files that code like this is in?
They appear to be config files - where are they?
I didn't mean what is SQlite.
as i said in the beginning i am brand new to django and also python.
i don't know anything.
What i mean is where are the files that code like this is in?
They appear to be config files - where are they?
I didn't mean what is SQlite.
as i said in the beginning i am brand new to django and also python.
i don't know anything.
Then you need to first go thru the installation procedure and then do the tutorial. There is too much to answer here and the docs are your best friend for this.
https://docs.djangoproject.com/en/1.6/intro/install/
https://docs.djangoproject.com/en/1.6/intro/tutorial01/
https://docs.djangoproject.com/en/1.6/intro/install/
https://docs.djangoproject.com/en/1.6/intro/tutorial01/
ASKER
Dave
I have Django 1.7 & Python 3.3 installed already.
What I'm doing now is asking questions where I'm having difficulty.
I already have link to online docs ...
I have Django 1.7 & Python 3.3 installed already.
What I'm doing now is asking questions where I'm having difficulty.
I already have link to online docs ...
The install instructions and the tutorial answer the questions you've asked so far including where to put the files and where that database directive goes. I even found the 'alternate' database info there when I looked again. You should install and run the tutorial to get a better understanding.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Good for you, glad you figured it out.
ASKER
thanks Dave
ASKER
This is the solution to why I couldn't get mssql installed
Looks like someone else may have already done that: http://django-mssql.readthedocs.org/en/latest/