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
46
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
Writing Async Microservices in Python
yakky
0
550
1 API - 3 Framework - 30 minutes
yakky
0
91
Building real time applications with Django and Channels 2 @ DjangoCon Europe
yakky
1
570
Building real time applications with Django and Channels 2 @ PyCon Italia
yakky
0
420
Building real time applications with Django
yakky
0
530
django knocker
yakky
0
55
django CMS + Channels + DRF = ♥
yakky
0
310
Liveblogging using channels
yakky
0
39
django CMS @ DUTH - Exploiting Django for a good cause
yakky
0
360
Other Decks in Programming
See All in Programming
From Translations to Multi Dimension Entities
alexanderschranz
2
130
快速入門可觀測性
blueswen
0
340
42 best practices for Symfony, a decade later
tucksaun
1
180
暇に任せてProxmoxコンソール 作ってみました
karugamo
1
720
Refactor your code - refactor yourself
xosofox
1
260
HTTP compression in PHP and Symfony apps
dunglas
2
1.7k
ドメインイベント増えすぎ問題
h0r15h0
1
230
第5回日本眼科AI学会総会_AIコンテスト_3位解法
neilsaw
0
170
プロダクトの品質に コミットする / Commit to Product Quality
pekepek
2
770
開発者とQAの越境で自動テストが増える開発プロセスを実現する
92thunder
1
180
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
700
Cloudflare MCP ServerでClaude Desktop からWeb APIを構築
kutakutat
1
540
Featured
See All Featured
Designing for humans not robots
tammielis
250
25k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Code Reviewing Like a Champion
maltzj
520
39k
Unsuck your backbone
ammeep
669
57k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Reflections from 52 weeks, 52 projects
jeffersonlam
347
20k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Thoughts on Productivity
jonyablonski
67
4.4k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Music & Morning Musume
bryan
46
6.2k
Gamification - CAS2011
davidbonilla
80
5.1k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
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