Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
django CMS application - A comprehensive approach
Search
Iacopo Spalletti
September 18, 2016
Programming
0
52
django CMS application - A comprehensive approach
Workshop given at PyCon UK 2016
Iacopo Spalletti
September 18, 2016
Tweet
Share
More Decks by Iacopo Spalletti
See All by Iacopo Spalletti
Django dalle trincee: pattern e pratiche dopo 15 anni di esperienza su Django
yakky
0
56
Writing Async Microservices in Python
yakky
0
680
1 API - 3 Framework - 30 minutes
yakky
0
93
Building real time applications with Django and Channels 2 @ DjangoCon Europe
yakky
1
690
Building real time applications with Django and Channels 2 @ PyCon Italia
yakky
0
540
Building real time applications with Django
yakky
0
670
django knocker
yakky
0
57
django CMS + Channels + DRF = ♥
yakky
0
310
Liveblogging using channels
yakky
0
41
Other Decks in Programming
See All in Programming
Hack Claude Code with Claude Code
choplin
4
2k
AI駆動のマルチエージェントによる業務フロー自動化の設計と実践
h_okkah
0
150
“いい感じ“な定量評価を求めて - Four Keysとアウトカムの間の探求 -
nealle
1
10k
VS Code Update for GitHub Copilot
74th
2
640
Rubyでやりたい駆動開発 / Ruby driven development
chobishiba
1
700
チームのテスト力を総合的に鍛えて品質、スピード、レジリエンスを共立させる/Testing approach that improves quality, speed, and resilience
goyoki
5
870
Flutterで備える!Accessibility Nutrition Labels完全ガイド
yuukiw00w
0
160
Deep Dive into ~/.claude/projects
hiragram
14
2.5k
10 Costly Database Performance Mistakes (And How To Fix Them)
andyatkinson
0
330
スタートアップの急成長を支えるプラットフォームエンジニアリングと組織戦略
sutochin26
1
5.6k
Composerが「依存解決」のためにどんな工夫をしているか #phpcon
o0h
PRO
1
250
「テストは愚直&&網羅的に書くほどよい」という誤解 / Test Smarter, Not Harder
munetoshi
0
170
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Agile that works and the tools we love
rasmusluckow
329
21k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
The Cult of Friendly URLs
andyhume
79
6.5k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
4 Signs Your Business is Dying
shpigford
184
22k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Transcript
A COMPREHENSIVE APPROACH BUILDING DJANGO CMS APPLICATIONS
HELLO, I AM IACOPO Founder and CTO @NephilaIt django CMS
core developer @yakkys https://github.com/yakky
WHAT WILL WE DO? Models Apphooks URLs Wizard Settings Meta
Tags
WHERE WILL WE START FROM? https://github.com/yakky/stupid-blog each branch contains a
step of this workshop
HOW WILL WE WORK? Hands-on Interactive Very opinionated
IT'S CARDIFF I'm prepared for the unexpected Shoot questions Question
my assumptions
READY? git clone https://github.com/yakky/stupid-blog python3 -m venv env . env/bin/activate
pip install -r requirements-test.txt python cms_helper.py server --persistent
WHAT'S CMS_HELPER.PY ? djangocms-helper (https://github.com/nephila/djangocms-helper) Sample project Base test class
/ utility functions Presented @ PyCon Uk 2015 https://www.youtube.com/watch? v=VeNDS4MLyPQ
PARLER parler branch Optional - yet recommended Reusable apps ought
to be translatable diff
BASIC APPHOOK apphook branch Load application from the admin Freely
structure your content tree diff
TRANSLATING URLCONF urlconf branch if you used translatable models, why
not the url paths? diff
APPHOOK CONFIGURATION apphook_config branch Configuring applications from the admin Per
instance diff
DYNAMIC SETTINGS settings branch Easy test-overridable settings diff
AUTOSETUP apphook_setup branch Setting up diff
WIZARD wizard branch Helps editors interacting with content diff
TOOLBAR toolbar branch A good alternative to the admin More
intuitive than the admin diff
FILTERING PUBLISHED POSTS toolbar branch Editors ought to see unpublished
items before making them public A "consequence" of frontend editing diff
PLACEHOLDER placeholder branch PlaceholderField is the major django CMS you're
going to use And it's trivial to implement diff
RENDER_MODEL render_model branch yet another feature to make content editors'
life easier Tons of options Check docs http://django-cms.readthedocs.io/en/release- 3.3.x/how_to/frontend_models.html diff
META meta branch Adds metadata support to your models/views django-meta
makes easier Check complete docs https://readthedocs.org/projects/django-meta/ diff
MORE? Plugins Menu Sitemap Full text indexes
GRAZIE! Follow me on: https://github.com/yakky https://github.com/nephila https://twitter.com/yakkys