A Picture is Worth a Thousand Words
tools…. https://www.draw.io/ https://github.com/jgraph/drawio-desktopText to diagram converters • PlantUML • open source tool that converts simple textual descriptions to UML diagrams • Not only UML Integration to doxygen doc / markdown doc http://plantuml.com/guideThree simple lines generate this diagram…. Isn’t it awesome?Have a break! • Use PlantUML to create Sudoku. • The sudoku is randomly generated.Good news! • PlantText : PlantUML based online live editor https://www.planttext.com/Yet another cool tool here - mermaid • Javascript based diagramming and charting tool. • Mermaid can0 码力 | 18 页 | 1.77 MB | 5 月前3Django CMS 3.11.10 Documentation
for a more consistent user experience. In the INSTALLED_APPS, before django.contrib.admin, add: Language settings django CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/4.2/re you want your project to serve, 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" simplicity’s sake, at this stage it is worth changing the default en-us in that you’ll find in the LANGUAGE_CODE setting to en.) Database django CMS like most Django projects requires a relational database0 码力 | 493 页 | 1.44 MB | 6 月前0.03Django CMS 4.1.x Documentation
for a more consistent user experience. In the INSTALLED_APPS, before django.contrib.admin, add: Language settings django CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/4.2/re you want your project to serve, 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 this stage it is worth changing the default en-us in that you’ll find in the LANGUAGE_CODE setting to en.) Database django CMS like most Django projects requires a relational database backend. Each django0 码力 | 518 页 | 1.66 MB | 6 月前3Django CMS 3.9.x Documentation
PollsApphook(CMSApp): app_name = "polls" name = "Polls Application" def get_urls(self, page=None, language=None, **kwargs): return ["polls.urls"] In this PollsApphook class, we have done several recommended. In the INSTALLED_APPS, before django.contrib.admin, add: 'djangocms_admin_style', Language settings django CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/2.2/re you want your project to serve, 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')0 码力 | 417 页 | 1.68 MB | 6 月前3Django CMS 3.9.x Documentation
PollsApphook(CMSApp): app_name = "polls" name = "Polls Application" def get_urls(self, page=None, language=None, **kwargs): return ["polls.urls"] In this PollsApphook class, we have done several key things: Release 3.10.0 Language settings django CMS requires you to set the LANGUAGES setting. This should list all the languages you want your project to serve, and must include the language in LANGUAGE_CODE. For simplicity’s sake, at this stage it is worth changing the default en-us in that you’ll find in the LANGUAGE_CODE setting to en.) Database django CMS requires a relational database backend. Each django CMS0 码力 | 298 页 | 1.79 MB | 6 月前3Django CMS 3.8.x Documentation
PollsApphook(CMSApp): app_name = "polls" name = "Polls Application" def get_urls(self, page=None, language=None, **kwargs): return ["polls.urls"] In this PollsApphook class, we have done several recommended. In the INSTALLED_APPS, before django.contrib.admin, add: 'djangocms_admin_style', Language settings django CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/2.2/re you want your project to serve, 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')0 码力 | 413 页 | 1.67 MB | 6 月前3Django CMS 4.0.x Documentation
PollsApphook(CMSApp): app_name = "polls" name = "Polls Application" def get_urls(self, page=None, language=None, **kwargs): return ["polls.urls"] In this PollsApphook class, we have done several key things: 'djangocms_admin_style', Language settings django CMS requires you to set the LANGUAGES setting. This should list all the languages you want your project to serve, and must include the language in LANGUAGE_CODE. For simplicity’s sake, at this stage it is worth changing the default en-us in that you’ll find in the LANGUAGE_CODE setting to en.) Database django CMS requires a relational database backend. Each django CMS0 码力 | 296 页 | 1.79 MB | 6 月前3Django CMS 3.0.x Documentation
middleware.page.CurrentPageMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cms.middleware.language.LanguageCookieMiddleware', ) You need at least the following TEMPLATE_CONTEXT_PROCESSORS: TEMPL clipboard clipboard.cmsplugin_set.all().delete() language = request.LANGUAGE_CODE if plugin: language = plugin.language alias = AliasPluginModel(language=language, placeholder=clipboard, plugin_type="AliasPlugi myapp_namespace:app_main %} If you want to access the same url but in a different language use the language template tag: {% load i18n %} {% language "de" %} 46 Chapter 5. Table of contents django cms Documentation,0 码力 | 180 页 | 1.56 MB | 6 月前3Django CMS 2.3.x Documentation
translations The Norwegian translations are now available as nb, which is the new (since 2003) official language code for Norwegian, replacing the older and deprecated no code. If your site runs in Norwegian, select which template to use (remember, we created two), as well as pretty obvious things like which language the page is in (used for internationalisation), the page’s title, and the url slug it will use. Default: True By default django CMS hides menu items that are not yet translated into the current language. With this setting set to False they will show up anyway. 2.3. Configuration 23 django cms Documentation0 码力 | 92 页 | 666.41 KB | 6 月前3Django CMS 2.4.x Documentation
missing argument in ModelAdmin • Fix a bug in WymEditor handling • Fix bugs in migrations • Fix bug in language fallback • Minor documentation fixes 1.3 2.4 release notes 1.3.1 What’s new in 2.4 Warning: Upgrading urlpatterns • Change your url and reverse calls to language namespaces. We now support the django way of calling other language urls either via {% language %} templatetag or via activate("de") function call After: {% load i18n %}{% language "de" %} {% url "myview_name" %} {% endlanguage %} • reverse urls now return the language prefix as well. So maybe there is some code that adds language prefixes. Remove this0 码力 | 104 页 | 709.98 KB | 6 月前3
共 186 条
- 1
- 2
- 3
- 4
- 5
- 6
- 19