File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Installation
39
39
.. code :: python
40
40
41
41
pip install django- pyodbc
42
-
42
+
43
43
2. Now you can now add a database to your settings using standard ODBC parameters.
44
44
45
45
.. code :: python
@@ -57,7 +57,22 @@ Installation
57
57
}
58
58
}
59
59
60
- 3. That's it! You're done.
60
+ 3. That's it! You're done.*
61
+
62
+ \* *You may need to configure your machine and drivers to do an *
63
+ `ODBC <https://en.wikipedia.org/wiki/Open_Database_Connectivity >`_
64
+ *connection to your database server, if you haven't already. For Linux this
65
+ involves installing and *
66
+ `configuring Unix ODBC and FreeTDS <http://www.unixodbc.org/doc/FreeTDS.html >`_ .
67
+ *Iterate on the command line to test your *
68
+ `pyodbc <https://mkleehammer.github.io/pyodbc/ >`_ *connection like: *
69
+
70
+ .. code :: python
71
+
72
+ python - c ' import pyodbc; print(pyodbc.connect("DSN=foobar_mssql_data_source_name;UID=foo;PWD=bar").cursor().execute("select 1"))'
73
+
74
+ *extended instructions * `here <https://github.com/lionheart/django-pyodbc/issues/10 >`_
75
+
61
76
62
77
Configuration
63
78
-------------
You can’t perform that action at this time.
0 commit comments