Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DATABASES = {
- 'default': {
- 'ENGINE': 'sql_server.pyodbc',
- 'NAME': 'smart_library_database', #created database name
- 'USER': '',
- 'PASSWORD': '',
- 'HOST': 'DESKTOP-D3U9MI7',
- 'PORT': '',
- 'OPTIONS': {
- 'driver': 'SQL Server Native Client 11.0',
- },
- },
- }
- ##########################################################
- DATABASES = {
- 'default': {
- 'ENGINE': 'sql_server.pyodbc',
- 'NAME': 'database_name', #created database name
- 'USER': 'username if create',
- 'PASSWORD': 'pass of user',
- 'HOST': 'HOST_name',
- 'PORT': '',
- 'OPTIONS': {
- 'driver': 'SQL Server Native Client 11.0',
- },
- },
- }
Add Comment
Please, Sign In to add comment