â [ã¡ã¢][Django][Linux]debian 㧠mod_python 㨠sqlite3 㧠django 11:22 åéã«mod_python 㧠Django ãåãããè¦ãªãã Debianï¼å®ã¯çç®±ï¼ã§è©¦ãã«åãããã¨ãã¦ã¿ãããã®ã¾ã¾ã ã¨åããªãã£ãã ãunable to open database fileãã£ã¦è¡¨ç¤ºãããã®ã§ããªãã ãï¼ã¨æã£ã¦ã¢ã¯ã»ã¹æ¨©ã¨ãå¤ãã¦ã¿ãããããã©åããªãã çµå± settings.py ã® DATABASE_NAME = 'data.db' ã¨æ¸ãã¦ãé¨åããã«ãã¹ã§ DATABASE_NAME = '/var/xxx/yyy/data.db' BASE_PATH = os.path.dirname(__file__) ... DATABASE_NAME = os.path.join(BASE_PATH, 'data.db')
{{#tags}}- {{label}}
{{/tags}}