Computer Programming with the Nim Programming Language
integration of the "Read/Eval/Print Loop" (REPL), "Hot code reloading", and incremental compilation (expected for versions > 2.0), along with support for various development environments — including debugging we may write that in functional programming style in this way: from std/strutils import join from std/sequtils import mapIt from std/strformat import fmt const DefaultWorldRange = [0.0, 0, 800, 600] let ") echo str # "0, 0, 800, 600" In the imperative, procedural style, we would write it like from std/strformat import fmt const DefaultWorldRange = [0.0, 0, 800, 600] var str: string for i, x in pair0 码力 | 865 页 | 7.45 MB | 1 年前3
Computer Programming with the Nim Programming Language
integration of the "Read/Eval/Print Loop" (REPL), "Hot code reloading", and incremental compilation (expected for versions > 2.0), along with support for various development environments — including debugging we may write that in functional programming style in this way: from std/strutils import join from std/sequtils import mapIt from std/strformat import fmt const DefaultWorldRange = [0.0, 0, 800, 600] let ") echo str # "0, 0, 800, 600" In the imperative, procedural style, we would write it like from std/strformat import fmt const DefaultWorldRange = [0.0, 0, 800, 600] var str: string for i, x in pair0 码力 | 784 页 | 2.13 MB | 1 年前3
django cms 3.5.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-LANGUAGE_CODE]. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-DATABASES]. Note For deployment, you’ll need to use a production-ready database with Django0 码力 | 403 页 | 1.69 MB | 1 年前3
django cms 3.7.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGE_CODE]. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-DATABASES]. Note For deployment, you’ll need to use a production-ready database with Django0 码力 | 409 页 | 1.67 MB | 1 年前3
Django CMS 3.9.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGE_CODE]. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] by default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-DATABASES]: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3',0 码力 | 417 页 | 1.68 MB | 6 月前3
Django CMS 3.8.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGE_CODE]. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] by default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-DATABASES]. Note For deployment, you’ll need to use a production-ready database with Django0 码力 | 413 页 | 1.67 MB | 6 月前3
django cms 3.3.x DocumentationAdd the following apps to your INSTALLED_APPS [https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-INSTALLED_APPS]. This includes django CMS itself as well as its dependencies and other highly default cms_page_media/ relative to MEDIA_ROOT [https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-MEDIA_ROOT]) is writeable by the user under which Django will be running. If you have opted com/etianen/django-reversion] and add it to INSTALLED_APPS [https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-INSTALLED_APPS]: 'reversion' You need to add the django CMS middlewares to your MIDDLEWARE_CLASSES0 码力 | 386 页 | 1.56 MB | 1 年前3
django cms 3.4.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-LANGUAGE_CODE]. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-DATABASES]. Note For deployment, you’ll need to use a production-ready database with Django0 码力 | 395 页 | 1.64 MB | 1 年前3
Django CMS 3.11.10 Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-LANGUAGE_CODE]. For example: "django.contrib.sites", "cms", "menus", "treebeard", "djangocms_admin_style" by default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-DATABASES]. Note For deployment, you’ll need to use a production-ready database with Django0 码力 | 493 页 | 1.44 MB | 6 月前0.03
Django CMS 4.1.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-LANGUAGE_CODE]. For example: (For simplicity’s sake, at this stage it is worth changing the by default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-DATABASES]. Note "djangocms_admin_style", LANGUAGES = [ ("en", "English"), ("de",0 码力 | 518 页 | 1.66 MB | 6 月前3
共 518 条
- 1
- 2
- 3
- 4
- 5
- 6
- 52













