Issue #10 new

problem creating db tables

marcin_krzyzanowski
created an issue

Hi, after installing (pip install django-mssql) and configuring the settings.py:

*DATABASE_OPTIONS = {
                'provider': 'SQLNCLI10.1',
                'extra_params': 'DataTypeCompability=80;MARS Connection=True;',
        }
DATABASES = {
    'default': {
        'ENGINE': 'sqlserver_ado',
        'NAME': 'djMonitorMagazyn',
        'HOST': r'REJEWSKI\SQLEXPRESS',
        'USER': '',
        'PASSWORD': '',
        'TEST_CREATE': False,
        'OPTIONS': DATABASE_OPTIONS,
   },
}*

and running the python manage.py syncdb I recieve the std output:

c:\django\MagazynMonitor>python manage.py syncdb
Creating tables ...
Creating table django_admin_log
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_groups
Creating table auth_user_user_permissions
Creating table auth_user
Creating table django_content_type
Creating table django_session

You just installed Django's auth system, which means you don't have any superusers defined.
Would you like to create one now? (yes/no): yes
Username (leave blank to use 'marcin.krzyzanowski'): marcink
Email address: email @ gmail.com
Password:
Password (again):
Superuser created successfully.
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)

Unfortunately no db tables are created. What can be the cause and solution?

Comments (0)

  1. Log in to comment