python from djedi import Editor editor = Editor() node = editor.add_node('about_us') editor.commit() python # settings.py DJEDI_BASE_URL = '/djedi/' DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'your_db_name', 'USER': 'your_username', 'PASSWORD': 'your_password', 'HOST': 'localhost', 'PORT': '5432', } }


上一篇:
下一篇:
切换中文