django-sqlserver | Django backend for MSSQL server using pytds | Runtime Evironment library
kandi X-RAY | django-sqlserver Summary
kandi X-RAY | django-sqlserver Summary
Django backend for MSSQL server using pytds or adodb backend (moved here from https://bitbucket.org/cramm/django-sqlserver)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Return the sql for this query .
- Get connection parameters .
- Find the version string .
- Get the server version .
- Generate the SQL for an update statement .
- Return the SQL as a SQL statement .
- Convert value to datetime
- Return a new connection to the database .
- Return a new sql statement .
- Return a timezone factory .
django-sqlserver Key Features
django-sqlserver Examples and Code Snippets
Community Discussions
Trending Discussions on django-sqlserver
QUESTION
I'm new to Django and currently trying to connect my project using python 3.6.4 and Django2.1.2 with SQL server, I tried multiple drivers connectors (libraries installed),
...ANSWER
Answered 2018-Nov-03 at 12:37Finally, I got the solution, the problem is on compatibility between Django and python, when I use pyodbc with Python 3.4.4 and Django==1.8.19 it worked, and this is what I did:
-install Python 3.4.4 - 2015-12-21
in cmd
pip install virtualenv test
virtualenv test
.\Scripts\activate
pip install Django==1.8.19 pip install django-mssql
pip install https://www.lfd.uci.edu/~gohlke/pythonlibs/#pywin32
django-admin startproject myproject .
modify setting database
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install django-sqlserver
You can use django-sqlserver like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page