积分充值
 首页
前端开发
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文库
  • 综合
  • 文档
  • 文章

无数据

分类

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

语言

全部英语(88)英语(1)

格式

全部PDF文档 PDF(45)其他文档 其他(44)
 
本次搜索耗时 0.099 秒,为您找到相关结果约 89 个.
  • 全部
  • 后端开发
  • Python
  • Django
  • 全部
  • 英语
  • 英语
  • 全部
  • PDF文档 PDF
  • 其他文档 其他
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • epub文档 Django CMS 3.11.10 Documentation

    admin_manager.filter(page=my_page, language="en") from djangocms_versioning.constants import DRAFT from djangocms_versioning.models import Version version = Version.objects.get(content__page=my_page, content__language="en" content in PageContent.admin_manager.filter(page=my_page).current_content(): # iterates over the current (draft or published) version of all languages of my page if content.versions.first().state == amongst the translated fields: placeholders = PlaceholderRelationField() @cached_property def my_placeholder(self): return get_placeholder_from_slot(self.placeholders, "slot_name") #
    0 码力 | 493 页 | 1.44 MB | 6 月前
    0.03
  • pdf文档 django cms 4.1.x Documentation

    PageContents which may only be used on admin sites and admin forms: PageContent.admin_manager.filter(page=my_page, language="en") will retrieve page content objects of all versions. Alternatively, to get the DRAFT from djangocms_versioning.models import Version version = Version.objects.get(content__page=my_page, content__language="en",␣ ˓→status=DRAFT) draft_content = Version.content Finally, there are content in PageContent.admin_manager.filter(page=my_page).current_content(): # iterates over the current (draft or published) version of all languages of my page if content.versions.first().state == DRAFT:
    0 码力 | 357 页 | 1.99 MB | 1 年前
    3
  • pdf文档 django cms 4.1.1 Documentation

    PageContents which may only be used on admin sites and admin forms: PageContent.admin_manager.filter(page=my_page, language="en") will retrieve page content objects of all versions. Alternatively, to get the DRAFT from djangocms_versioning.models import Version version = Version.objects.get(content__page=my_page, content__language="en",␣ ˓→status=DRAFT) draft_content = Version.content Finally, there are content in PageContent.admin_manager.filter(page=my_page).current_content(): # iterates over the current (draft or published) version of all languages of my page if content.versions.first().state == DRAFT:
    0 码力 | 361 页 | 2.00 MB | 1 年前
    3
  • epub文档 Django CMS 4.1.x Documentation

    admin_manager.filter(page=my_page, language="en") from djangocms_versioning.constants import DRAFT from djangocms_versioning.models import Version version = Version.objects.get(content__page=my_page, content__language="en" content in PageContent.admin_manager.filter(page=my_page).current_content(): # iterates over the current (draft or published) version of all languages of my page if content.versions.first().state == amongst the translated fields: placeholders = PlaceholderRelationField() @cached_property def my_placeholder(self): return get_placeholder_from_slot(self.placeholders, "slot_name") #
    0 码力 | 518 页 | 1.66 MB | 6 月前
    3
  • pdf文档 django cms 3.10.x Documentation

    models from cms.models.fields import PlaceholderField class MyModel(models.Model): # your fields my_placeholder = PlaceholderField('placeholder_name') # your methods The PlaceholderField has one required import PlaceholderField def my_placeholder_slotname(instance): return 'placeholder_name' class MyModel(models.Model): # your fields my_placeholder = PlaceholderField(my_placeholder_slotname) # your from the cms_tags template tag library: {% load cms_tags %} {% render_placeholder mymodel_instance.my_placeholder "640" %} The render_placeholder tag takes the following parameters: • PlaceholderField
    0 码力 | 296 页 | 1.79 MB | 1 年前
    3
  • pdf文档 django cms 3.1.x Documentation

    base template. 12 Chapter 5. Table of contents django cms Documentation, Release 3.1.8.dev1 add my_site/templates/polls/base.html: {% extends 'base.html' %} {% block content %} {% block polls_content here polls_plugin/ # the newly-created application __init__.py admin.py models.py tests.py views.py my_site/ static/ project.db requirements.txt The Plugin Model In your poll application’s models.py add develop.py test 7. commit and push your code into a feature branch: git checkout -b my_fix git commit git push origin my_fix 8. open a pull request on github Target branches At one point in time django
    0 码力 | 200 页 | 1.63 MB | 1 年前
    3
  • pdf文档 Django CMS 3.0.x Documentation

    navigation or styling. Let’s improve this by overriding the polls application’s base template. add my_site/templates/polls/base.html: 12 Chapter 5. Table of contents django cms Documentation, Release here polls_plugin/ # the newly-created application __init__.py admin.py models.py tests.py views.py my_site/ static/ project.db requirements.txt The Plugin Model In your poll application’s models.py add "/bye/", 2) n3 = NavigationNode(_('sample account page'), "/hello/", 3) n4 = NavigationNode(_('sample my profile page'), "/hello/world/", 4, 3) nodes.append(n) nodes.append(n2) nodes.append(n3) nodes.append(n4)
    0 码力 | 180 页 | 1.56 MB | 6 月前
    3
  • pdf文档 django cms 3.6.x Documentation

    models from cms.models.fields import PlaceholderField class MyModel(models.Model): # your fields my_placeholder = PlaceholderField('placeholder_name') # your methods The PlaceholderField has one required import PlaceholderField def my_placeholder_slotname(instance): return 'placeholder_name' class MyModel(models.Model): # your fields my_placeholder = PlaceholderField(my_placeholder_slotname) # your from the cms_tags template tag library: {% load cms_tags %} {% render_placeholder mymodel_instance.my_placeholder "640" %} The render_placeholder tag takes the following parameters: • PlaceholderField
    0 码力 | 278 页 | 1.63 MB | 1 年前
    3
  • epub文档 django cms 3.7.x Documentation

    models from cms.models.fields import PlaceholderField class MyModel(models.Model): # your fields my_placeholder = PlaceholderField('placeholder_name') # your methods The PlaceholderField has one import PlaceholderField def my_placeholder_slotname(instance): return 'placeholder_name' class MyModel(models.Model): # your fields my_placeholder = PlaceholderField(my_placeholder_slotname) from the cms_tags template tag library: {% load cms_tags %} {% render_placeholder mymodel_instance.my_placeholder "640" %} The render_placeholder tag takes the following parameters: PlaceholderField
    0 码力 | 409 页 | 1.67 MB | 1 年前
    3
  • epub文档 Django CMS 3.9.x Documentation

    from cms.models.fields import PlaceholderField class MyModel(models.Model): # your fields my_placeholder = PlaceholderField('placeholder_name') # your methods The PlaceholderField has one import PlaceholderField def my_placeholder_slotname(instance): return 'placeholder_name' class MyModel(models.Model): # your fields my_placeholder = PlaceholderField(my_placeholder_slotname) from the cms_tags template tag library: {% load cms_tags %} {% render_placeholder mymodel_instance.my_placeholder "640" %} The render_placeholder tag takes the following parameters: PlaceholderField instance
    0 码力 | 417 页 | 1.68 MB | 6 月前
    3
共 89 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 9
前往
页
相关搜索词
httpsdocsdjangocmsorgdownloadsenlatestDocumentation4.1DjangoCMS3.103.13.03.63.73.9
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩