积分充值
 首页
前端开发
AngularDartElectronFlutterHTML/CSSJavaScriptReactSvelteTypeScriptVue.js构建工具
后端开发
.NetC#C++C语言DenoffmpegGoIdrisJavaJuliaKotlinLeanMakefilenimNode.jsPascalPHPPythonRISC-VRubyRustSwiftUML其它语言区块链开发测试微服务敏捷开发架构设计汇编语言
数据库
Apache DorisApache HBaseCassandraClickHouseFirebirdGreenplumMongoDBMySQLPieCloudDBPostgreSQLRedisSQLSQLiteTiDBVitess数据库中间件数据库工具数据库设计
系统运维
AndroidDevOpshttpdJenkinsLinuxPrometheusTraefikZabbix存储网络与安全
云计算&大数据
Apache APISIXApache FlinkApache KarafApache KyuubiApache OzonedaprDockerHadoopHarborIstioKubernetesOpenShiftPandasrancherRocketMQServerlessService MeshVirtualBoxVMWare云原生CNCF机器学习边缘计算
综合其他
BlenderGIMPKiCadKritaWeblate产品与服务人工智能亿图数据可视化版本控制笔试面试
文库资料
前端
AngularAnt DesignBabelBootstrapChart.jsCSS3EchartsElectronHighchartsHTML/CSSHTML5JavaScriptJerryScriptJestReactSassTypeScriptVue前端工具小程序
后端
.NETApacheC/C++C#CMakeCrystalDartDenoDjangoDubboErlangFastifyFlaskGinGoGoFrameGuzzleIrisJavaJuliaLispLLVMLuaMatplotlibMicronautnimNode.jsPerlPHPPythonQtRPCRubyRustR语言ScalaShellVlangwasmYewZephirZig算法
移动端
AndroidAPP工具FlutterFramework7HarmonyHippyIoniciOSkotlinNativeObject-CPWAReactSwiftuni-appWeex
数据库
ApacheArangoDBCassandraClickHouseCouchDBCrateDBDB2DocumentDBDorisDragonflyDBEdgeDBetcdFirebirdGaussDBGraphGreenPlumHStreamDBHugeGraphimmudbIndexedDBInfluxDBIoTDBKey-ValueKitDBLevelDBM3DBMatrixOneMilvusMongoDBMySQLNavicatNebulaNewSQLNoSQLOceanBaseOpenTSDBOracleOrientDBPostgreSQLPrestoDBQuestDBRedisRocksDBSequoiaDBServerSkytableSQLSQLiteTiDBTiKVTimescaleDBYugabyteDB关系型数据库数据库数据库ORM数据库中间件数据库工具时序数据库
云计算&大数据
ActiveMQAerakiAgentAlluxioAntreaApacheApache APISIXAPISIXBFEBitBookKeeperChaosChoerodonCiliumCloudStackConsulDaprDataEaseDC/OSDockerDrillDruidElasticJobElasticSearchEnvoyErdaFlinkFluentGrafanaHadoopHarborHelmHudiInLongKafkaKnativeKongKubeCubeKubeEdgeKubeflowKubeOperatorKubernetesKubeSphereKubeVelaKumaKylinLibcloudLinkerdLonghornMeiliSearchMeshNacosNATSOKDOpenOpenEBSOpenKruiseOpenPitrixOpenSearchOpenStackOpenTracingOzonePaddlePaddlePolicyPulsarPyTorchRainbondRancherRediSearchScikit-learnServerlessShardingSphereShenYuSparkStormSupersetXuperChainZadig云原生CNCF人工智能区块链数据挖掘机器学习深度学习算法工程边缘计算
UI&美工&设计
BlenderKritaSketchUI设计
网络&系统&运维
AnsibleApacheAWKCeleryCephCI/CDCurveDevOpsGoCDHAProxyIstioJenkinsJumpServerLinuxMacNginxOpenRestyPrometheusServertraefikTrafficUnixWindowsZabbixZipkin安全防护系统内核网络运维监控
综合其它
文章资讯
 上传文档  发布文章  登录账户
IT文库
  • 综合
  • 文档
  • 文章

无数据

分类

全部后端开发(76)Python(76)Django(76)

语言

全部英语(75)英语(1)

格式

全部PDF文档 PDF(39)其他文档 其他(37)
 
本次搜索耗时 0.094 秒,为您找到相关结果约 76 个.
  • 全部
  • 后端开发
  • Python
  • Django
  • 全部
  • 英语
  • 英语
  • 全部
  • PDF文档 PDF
  • 其他文档 其他
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • pdf文档 Django 官方教程翻译项目

    Django 产生于一个公众页面和内容发布者页面完全分离的新闻类站点的开发过程中。站点管理人员使用管理系统来添加新闻、事件 和体育时讯等,这些添加的内容被显示在公众页面上。Django 通过为站点管理人员创建统一的内容编辑界面解决了这个问题。 管理界面不是为了网站的访问者,而是为管理者准备的。 首先,我们得创建一个能登录管理页面的用户。请运行下面的命令: 1. $ python manage.py createsuperuser question.choice_set.all %} 6.
  • {{ choice.choice_text }}
  • 7. {% endfor %} 8.
模板系统统一使用「点」符号来访问变量的属性。在示例 {{ question.question_text }} 中,首先 Django 尝试对 Question 对象使用字典查找(也就是使用obj.get(str)操作),如 特别是由好几个应用组成的大项目中,处理不同应用所需要的 静态文件的工作就显得有点麻烦了。 这就是 django.contrib.staticfiles 存在的意义:它将各个应用的静态文件(和一些你指明的 目录里的文件)统一收集起来,这样一来,在生产环境中,这些文件就会集中在一个便于分发的地 方。 首先,在 polls 目录下创建一个 static 目录。 Django 将会从这里收集静态文件,就像 Django
0 码力 | 103 页 | 1.86 MB | 1 年前
3
  • pdf文档 django cms 4.1.x Documentation

    Warning: Django CMS 3.x used a different way of integrating placeholders. It’s PlaceholderField("slot_name") needs to be changed into a PlaceholderRelationField (available since django CMS 4.x). Get models.fields import PlaceholderRelationField from cms.utils.placeholder import get_placeholder_from_slot class MyModel(models.Model): # your fields placeholders = PlaceholderRelationField() (continues previous page) @cached_property def my_placeholder(self): return get_placeholder_from_slot(self.placeholders, "slot_name") # your methods The PlaceholderRelationField can reference more than one field
    0 码力 | 357 页 | 1.99 MB | 1 年前
    3
  • pdf文档 django cms 4.1.1 Documentation

    Warning: Django CMS 3.x used a different way of integrating placeholders. It’s PlaceholderField("slot_name") needs to be changed into a PlaceholderRelationField (available since django CMS 4.x). Get models.fields import PlaceholderRelationField from cms.utils.placeholder import get_placeholder_from_slot class MyModel(models.Model): # your fields placeholders = PlaceholderRelationField() (continues previous page) @cached_property def my_placeholder(self): return get_placeholder_from_slot(self.placeholders, "slot_name") # your methods The PlaceholderRelationField can reference more than one field
    0 码力 | 361 页 | 2.00 MB | 1 年前
    3
  • epub文档 Django CMS 4.1.x Documentation

    placeholders. Warning Django CMS 3.x used a different way of integrating placeholders. It’s PlaceholderField("slot_name") needs to be changed into a PlaceholderRelationField (available since django CMS 4.x). Get started models.fields import PlaceholderRelationField from cms.utils.placeholder import get_placeholder_from_slot class MyModel(models.Model): # your fields The PlaceholderRelationField can reference more specific placeholders. The utility function get_placeholder_from_slot() retrieves a placeholder object based on its slot name. The slot is used in templates, to determine where the placeholder’s plugins
    0 码力 | 518 页 | 1.66 MB | 7 月前
    3
  • epub文档 Django CMS 3.11.10 Documentation

    placeholders. Warning Django CMS 3.x used a different way of integrating placeholders. It’s PlaceholderField("slot_name") needs to be changed into a PlaceholderRelationField (available since django CMS 4.x). Get started models.fields import PlaceholderRelationField from cms.utils.placeholder import get_placeholder_from_slot class MyModel(models.Model): # your fields The PlaceholderRelationField can reference more specific placeholders. The utility function get_placeholder_from_slot() retrieves a placeholder object based on its slot name. The slot is used in templates, to determine where the placeholder’s plugins
    0 码力 | 493 页 | 1.44 MB | 7 月前
    0.03
  • epub文档 django cms 3.4.x Documentation

    Plugins embedded in Text should remain unchanged in order not to break output if placeholder.slot != 'main' or (instance._render_meta.text_enabled and instance.parent): return rendered_content MypluginTests(TestCase): def test_plugin_context(self): placeholder = Placeholder.objects.create(slot='test') model_instance = add_plugin( placeholder, MyPlugin, assertEqual(context['key'], 'value') def test_plugin_html(self): placeholder = Placeholder.objects.create(slot='test') model_instance = add_plugin( placeholder, MyPlugin,
    0 码力 | 395 页 | 1.64 MB | 1 年前
    3
  • pdf文档 django cms 3.6.x Documentation

    unchanged # Plugins embedded in Text should remain unchanged in order not to break output if placeholder.slot != 'main' or (instance._render_meta.text_enabled and instance. ˓→parent): return rendered_content MypluginTests(TestCase): def test_plugin_context(self): placeholder = Placeholder.objects.create(slot='test') model_instance = add_plugin( placeholder, MyPlugin, 'en', ) plugin_instance = model_instance assertEqual(context['key'], 'value') def test_plugin_html(self): placeholder = Placeholder.objects.create(slot='test') model_instance = add_plugin( placeholder, (continues on next page) 96 Chapter 4. Software
    0 码力 | 278 页 | 1.63 MB | 1 年前
    3
  • pdf文档 django cms 3.10.x Documentation

    unchanged # Plugins embedded in Text should remain unchanged in order not to break output if placeholder.slot != 'main' or (instance._render_meta.text_enabled and instance. ˓→parent): return rendered_content MypluginTests(TestCase): def test_plugin_context(self): placeholder = Placeholder.objects.create(slot='test') model_instance = add_plugin( placeholder, MyPlugin, 'en', ) plugin_instance = model_instance assertEqual(context['key'], 'value') def test_plugin_html(self): placeholder = Placeholder.objects.create(slot='test') model_instance = add_plugin( placeholder, MyPlugin, 'en', ) renderer = ContentRenderer(re
    0 码力 | 296 页 | 1.79 MB | 1 年前
    3
  • epub文档 django cms 3.5.x Documentation

    Plugins embedded in Text should remain unchanged in order not to break output if placeholder.slot != 'main' or (instance._render_meta.text_enabled and instance.parent): return rendered_content MypluginTests(TestCase): def test_plugin_context(self): placeholder = Placeholder.objects.create(slot='test') model_instance = add_plugin( placeholder, MyPlugin, assertEqual(context['key'], 'value') def test_plugin_html(self): placeholder = Placeholder.objects.create(slot='test') model_instance = add_plugin( placeholder, MyPlugin,
    0 码力 | 403 页 | 1.69 MB | 1 年前
    3
  • epub文档 django cms 3.7.x Documentation

    Plugins embedded in Text should remain unchanged in order not to break output if placeholder.slot != 'main' or (instance._render_meta.text_enabled and instance.parent): return rendered_content MypluginTests(TestCase): def test_plugin_context(self): placeholder = Placeholder.objects.create(slot='test') model_instance = add_plugin( placeholder, MyPlugin, assertEqual(context['key'], 'value') def test_plugin_html(self): placeholder = Placeholder.objects.create(slot='test') model_instance = add_plugin( placeholder, MyPlugin,
    0 码力 | 409 页 | 1.67 MB | 1 年前
    3
  • 共 76 条
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 8
    前往
    页
    相关搜索词
    Django官方教程翻译项目djangocms4.1DocumentationCMShttpsdocsorgdownloadsenlatest3.43.63.103.53.7
    IT文库
    关于我们 文库协议 联系我们 意见反馈 免责声明
    本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
    IT文库 ©1024 - 2025 | 站点地图
    Powered By MOREDOC AI v3.3.0-beta.70
    • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
      关注我们的公众号【刻舟求荐】,给您不一样的精彩