Sorry. `inspect` -> `inspectdb` .
On Fri, Jan 8, 2016 at 12:54 AM, whycrying wrote:
> Using django-pyodbc for connecting to SQL Server as Sid said.
>
> Then use the `inspect` management command to build the models ::
>
> $ python manage.py inspectdb > models.py
>
> via:
> https://docs.django
I think if you install sql_server.pyodbc it should be fine
UNDER databases in *settings.py *
'default': {
'ENGINE': 'sql_server.pyodbc',
'NAME': '--',
'HOST': '',
'USER': '-',
'PASSWORD': '-'
documentation: *https://pypi.pytho
Can someone please provide me the details, or point me to documentation on how
to connect an existing SQL Server database to a new Django app?
How would the models be built from it?
Thanks,
Gerry
The information transmitted in this email
3 matches
Mail list logo