Django 官方教程翻译项目作为一个 Python Web 框架,Django 依赖 Python。从 Django 适用于哪些版本的 Python可 以获取更多信息。较新版本的 Python 内置一个轻量级的数据库 SQLite,所以你暂时不需要配置 数据库。 可以从 Python 官网或者系统的包管理工具获取到最新版的 Python。 Jython 上的 Django 如果你使用的是 Jython(一种 Java 模块,用模块级别的变量表示 Django 设置。 默认情况下,配置的数据库是 SQLite,如果你对数据库不太熟,或者你只是对尝试 Django 感兴 趣,这是最简单的选择。SQLite 内嵌在 Python 里,所以你不用再安装其他东西来支持你的数据 库。但是当你开始做第一个实际的项目时,你也许想使用一个可扩展的数据库,比如 PostgreSQL 来避免令人头痛地切换数据库问题。 如果你希望使用其他数据库,你需要安装合适的 引擎(ENGINE) - ‘django.db.backends.sqlite3’、 ‘django.db.backends.postgresql’、 ‘django.db.backends.mysql’ 或者 ‘django.db.backends.oracle’。 其他的后端 也可以参考。 名字(NAME) - 你数据库的名字。如果你正在使用 SQLite,数据库将以文件形式保存在你的 电脑;在这种情况下,名字0 码力 | 103 页 | 1.86 MB | 1 年前3
Django 5.1 DocumentationSettings Frequently Asked Questions Databases General notes PostgreSQL notes MariaDB notes MySQL notes SQLite notes Oracle notes Subclassing the built-in database backends Using a 3rd-party database backend version can I use with Django? for details. Python includes a lightweight database called SQLite [https://www.sqlite.org/] so you won’t need to set up a database just yet. Get the latest version of Python By default, the DATABASES configuration uses SQLite. If you’re new to databases, or you’re just interested in trying Django, this is the easiest choice. SQLite is included in Python, so you won’t need to0 码力 | 3513 页 | 3.17 MB | 1 年前3
Django 5.1.2 DocumentationSettings Frequently Asked Questions Databases General notes PostgreSQL notes MariaDB notes MySQL notes SQLite notes Oracle notes Subclassing the built-in database backends Using a 3rd-party database backend version can I use with Django? for details. Python includes a lightweight database called SQLite [https://www.sqlite.org/] so you won’t need to set up a database just yet. Get the latest version of Python By default, the DATABASES configuration uses SQLite. If you’re new to databases, or you’re just interested in trying Django, this is the easiest choice. SQLite is included in Python, so you won’t need to0 码力 | 3519 页 | 3.17 MB | 1 年前3
Django 4.2.x DocumentationSettings Frequently Asked Questions Databases General notes PostgreSQL notes MariaDB notes MySQL notes SQLite notes Oracle notes Subclassing the built-in database backends Using a 3rd-party database backend Python version can I use with Django? for details. Python includes a lightweight database called SQLite so you won’t need to set up a database just yet. Get the latest version of Python at https://www settings. By default, the configuration uses SQLite. If you’re new to databases, or you’re just interested in trying Django, this is the easiest choice. SQLite is included in Python, so you won’t need to0 码力 | 3305 页 | 3.16 MB | 1 年前3
Django 5.0.x DocumentationSettings Frequently Asked Questions Databases General notes PostgreSQL notes MariaDB notes MySQL notes SQLite notes Oracle notes Subclassing the built-in database backends Using a 3rd-party database backend version can I use with Django? for details. Python includes a lightweight database called SQLite [https://www.sqlite.org/] so you won’t need to set up a database just yet. Get the latest version of Python settings. By default, the configuration uses SQLite. If you’re new to databases, or you’re just interested in trying Django, this is the easiest choice. SQLite is included in Python, so you won’t need to0 码力 | 3407 页 | 3.21 MB | 1 年前3
Django 4.1.x DocumentationSettings Frequently Asked Questions Databases General notes PostgreSQL notes MariaDB notes MySQL notes SQLite notes Oracle notes Subclassing the built-in database backends Using a 3rd-party database backend Python version can I use with Django? for details. Python includes a lightweight database called SQLite so you won’t need to set up a database just yet. Get the latest version of Python at https://www settings. By default, the configuration uses SQLite. If you’re new to databases, or you’re just interested in trying Django, this is the easiest choice. SQLite is included in Python, so you won’t need to0 码力 | 3240 页 | 3.13 MB | 1 年前3
Django 4.0.x DocumentationFrequently Asked Questions Databases General notes PostgreSQL notes MariaDB notes MySQL notes SQLite notes Oracle notes Subclassing the built-in database backends Using a 3rd-party database backend Python version can I use with Django? for details. Python includes a lightweight database called SQLite so you won’t need to set up a database just yet. Get the latest version of Python at https://www settings. By default, the configuration uses SQLite. If you’re new to databases, or you’re just interested in trying Django, this is the easiest choice. SQLite is included in Python, so you won’t need to0 码力 | 3184 页 | 3.14 MB | 1 年前3
Django 4.0.x DocumentationPython version can I use with Django? for details. Python includes a lightweight database called SQLite so you won’t need to set up a database just yet. Get the latest version of Python at https://www settings. By default, the configuration uses SQLite. If you’re new to databases, or you’re just interested in trying Django, this is the easiest choice. SQLite is included in Python, so you won’t need to 'default' item to match your database connection settings: • ENGINE – Either 'django.db.backends.sqlite3', 'django.db.backends.postgresql', 'django.db. backends.mysql', or 'django.db.backends.oracle'.0 码力 | 2248 页 | 7.90 MB | 1 年前3
Django 2.2.x Documentationreusable apps Settings Frequently Asked Questions Databases General notes PostgreSQL notes MySQL notes SQLite notes Oracle notes Using a 3rd-party database backend django-admin and manage.py Usage Available Python version can I use with Django? for details. Python includes a lightweight database called SQLite so you won’t need to set up a database just yet. Get the latest version of Python at https://www settings. By default, the configuration uses SQLite. If you’re new to databases, or you’re just interested in trying Django, this is the easiest choice. SQLite is included in Python, so you won’t need to0 码力 | 2915 页 | 2.83 MB | 1 年前3
Django 1.8.x DocumentationEdge cases Contrib and reusable apps Settings Databases General notes PostgreSQL notes MySQL notes SQLite notes Oracle notes Using a 3rd-party database backend django-admin and manage.py Usage Available Python version can I use with Django? for details. Python includes a lightweight database called SQLite so you won’t need to set up a database just yet. Get the latest version of Python at https://www settings. By default, the configuration uses SQLite. If you’re new to databases, or you’re just interested in trying Django, this is the easiest choice. SQLite is included in Python, so you won’t need to0 码力 | 2454 页 | 2.85 MB | 1 年前3
共 55 条
- 1
- 2
- 3
- 4
- 5
- 6













