Django 4.1.x DocumentationRaising a 404 error - Use the template system - Removing hardcoded URLs in templates - Namespaceing URL names - Writing.your first Django app, part 4 - Write a minimal form - Use generic views: Less code Database instrumentation - Examples of model relationship API usage ## Handling HTTP requests - URL dispatcher - Writing views - View decorators - File Uploads - Django shortcut functions - Generic commands from your code - Output redirection ## Dсции Django Exceptions - Django Core Exceptions - URL Resolver exceptions - -alabase Exceptions - HTTP Exceptions - Sessions Exceptions - Transaction0 码力 | 3240 页 | 3.13 MB | 2 年前3
使用JDBC连接数据库/dns/test.db"); 数据库连接URL ## JDBC URL  JDBC URL具有特定的结构,封装了相应的信息,可用于加载相应的驱动程序并与数据库建立连接。标准的JDBC URL的格式如下: ## jdbc : <子协议名> <子协议名> : <子名称> JDBC URL由三个部分组成,各个部分之间用冒号分隔。<子协议>是指数据库连接的方式。<子名称>可以根据子协议的改变而变化。 示例:连接本机MySQL数据库testDB的JDBC URL jdbc:mysql://localhost/testDB # 测试用Java代码连接数据库并提取数据 private static = null; try { // 创建数据库连接 connection = DriverManager.getConnection( url: "jdbc:sqlite:./dbs/test.db"); // 准备创建操作与存取的数据库命令 Statement statement = connection0 码力 | 20 页 | 1.02 MB | 2 年前3
waitress Documentation v1.3.1pass the Host header, the Host header does not contain enough information to regenerate the original URL sent by the client. For example, if your reverse proxy accepts HTTPS requests (and therefore URLs which you'll want to change the wsi.url_scheme in the WSGI environment before it reaches your application. You can do this in one of three ways: 1. You can pass a url scheme configuration variable to the 1 Using url scheme to set wski.url scheme You can have the Waitress server use the https url scheme by default.: from waitress import serve serve(wskiapp, listen='0.0.0.0:8080', url_scheme='https')0 码力 | 95 页 | 249.32 KB | 1 年前3
The Weblate Manual 3.5(file)s&line=% (line)s is good option. ## See also: You can find more information on registering custom URL protocols for editor in nette documentation. ### 2.3 Translating using Weblate Thank you for interest on Wikipedia ## URL The translation does not contain an URL. This is triggered only in case the unit is marked as containing URL. In that case the translation has to be a valid URL. #### 2.5.4 Source configuration for detailed description of the fields): |Field|Value| |---|---| |Source code repository|URL of the VCS repository with your project| |File mask|$ po/\*.po $| |Base file for new translations|$0 码力 | 327 页 | 2.58 MB | 2 年前3
The Weblate Manual 4.3.2file={filename}&line={line} is a good option. ## See also You can find more info on registering custom URL protocols for the editor in the Nette documentation [https://tracy.nette.org/en/open-files-in-ide] placeholders flag, more can be separated with colon, strings with space can be quoted: placeholders:$URL:$TARGET:$some long text" In case you have some syntax for placeholders, you can use an regular Mozilla. ## URL The translation does not contain an URL New in version 3.5. The translation does not contain an URL. This is triggered only in case the unit is marked as containing URL. In that case0 码力 | 673 页 | 9.34 MB | 2 年前3
Weblate 4.3.1 用户文档file={{filename}}&line={{line}} is a good option. ## 参见 You can find more info on registering custom URL protocols for the editor in the Nette documentation [https://tracy.nette.org/en/open-files-in-ide] placeholders flag, more can be separated with colon, strings with space can be quoted: placeholders:$URL:$TARGET:$some long text" In case you have some syntax for placeholders, you can use an regular by Mozilla. ## URL The translation does not contain an URL ### 3.5 新版功能 The translation does not contain an URL. This is triggered only in case the unit is marked as containing URL. In that case the0 码力 | 667 页 | 9.36 MB | 2 年前3
Weblate 4.3.2 用户文档file={{filename}}&line={{line}} is a good option. ## 参见 You can find more info on registering custom URL protocols for the editor in the Nette documentation [https://tracy.nette.org/en/open-files-in-ide] placeholders flag, more can be separated with colon, strings with space can be quoted: placeholders:$URL:$TARGET:$some long text" In case you have some syntax for placeholders, you can use an regular by Mozilla. ## URL The translation does not contain an URL ### 3.5 新版功能 The translation does not contain an URL. This is triggered only in case the unit is marked as containing URL. In that case the0 码力 | 676 页 | 9.37 MB | 2 年前3
Django CMS 3.0.x Documentationour suggestions differ from the default, they’re highlighted below: • Database configuration (in URL format): sqlite://localhost/project.db • Django CMS version: stable • Django version: 1.6 • Activate Congratulations, you now have installed a fully functional CMS! To log in, append ?edit to the URL and hit enter. This will enable the toolbar, from where you can log in and manage your website. Switch project's urls.py: url(r'^polls/', include('polls.urls', namespace='polls'), Make sure this line is included before the line for the Django-CMS URLs: url(r'^\', include('cms0 码力 | 180 页 | 1.56 MB | 1 年前3
django cms 3.1.x Documentationour suggestions differ from the default, they’re highlighted below: • Database configuration (in URL format): sqlite://localhost/project.db • Django CMS version: stable • Django version: stable • Activate Congratulations, you now have installed a fully functional CMS! To log in, append ?edit to the URL and hit enter. This will enable the toolbar, from where you can log in and manage your website. Switch project's urls.py: url(r'^polls/', include('polls.urls', namespace='polls'), Make sure this line is included before the line for the Django-CMS URLs: url(r'^\', include('cms0 码力 | 200 页 | 1.63 MB | 1 年前3
Django CMS 2.1.x DocumentationCSS files, Javascript files...): MEDIA_ROOT = os.path.join(PROJECT_PATH, "media") MEDIA_URL = "/media/" ADMIN_MEDIA_PREFIX = "/media/admin/" Now add a little magic to the TEMPLATE sqlite3', 'NAME': os.path.join(PROJECT_DIR, 'database.sqlite'), } } ## URL configuration You need to include the 'cms.urls' urlpatterns at the end of your urlpatterns url(r'^', include('cms.urls'), ) if settings.DEBUG: urlpatterns = patterns('', (r'^' + settings.MEDIA_URL.lstrip('//')0 码力 | 63 页 | 485.38 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
Django模型视图URL模板JDBC数据库连接URL结构SQLite驱动程序vendored asyncoreIPv6 支持反向代理Forwarded 头url_prefix翻译组件项目管理机器翻译服务法律URL限制翻译长度SUGGESTION_CLEANUP_DAYSUPDATE_LANGUAGESURL_PREFIX版本更新功能改进翻译记忆库性能改进自动翻译用户界面APIWeblateCSVYAMLDjango CMS3.0.x分支策略发布说明安全漏洞apphooksrelease notesbug fixescompatibilityInstallationIntroductory TutorialTemplatesDatabase Configuration













