manage.py migrate error

 The first tip, setting the inside

STATICFILES_DIRS = (
  os.path.join(BASE_DIR,'static')
)

Added behind the second row ',' solution, which can be identified by tuple.

The second prompt to install Pillow.

The third prompt, you need to set DATABASES, default plus a

'OPTIONS': {
  'autocommit': True,
  'init_command': "SET sql_mode='STRICT_TRANS_TABLES'",
},

Can be solved.

 

Guess you like

Origin www.cnblogs.com/hanzg/p/10948624.html