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
36
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
420
1 API - 3 Framework - 30 minutes
yakky
0
69
Building real time applications with Django and Channels 2 @ DjangoCon Europe
yakky
1
480
Building real time applications with Django and Channels 2 @ PyCon Italia
yakky
0
280
Building real time applications with Django
yakky
0
450
django knocker
yakky
0
46
django CMS + Channels + DRF = ♥
yakky
0
290
Liveblogging using channels
yakky
0
36
django CMS @ DUTH - Exploiting Django for a good cause
yakky
0
240
Other Decks in Programming
See All in Programming
せっかくモデル図描くのなら、嬉しいことが多い方がいいよね!
kuboaki
1
3.1k
CircleCIを活用して AWSへの継続的デリバリーを 実践する
coconala_engineer
1
230
受託開発でGitLab CI を活用していく
xiombatsg
1
270
本格ローグライク制作にEbitengineを選んでみた
nagainaganawa
0
290
Elm Form Validation
bkuhlmann
0
500
App Router への移行は「改善」となり得るのか?/ Can migration to App Router be an improvement
takefumiyoshii
8
2.1k
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
110
1BRC--Nerd Sniping the Java Community
gunnarmorling
0
300
[SF Ruby, March 2024] Rails on Wasm
palkan
0
370
Hanami and htmx
bkuhlmann
0
190
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
210
[技育CAMPアカデミア]アイディアを形に!【超入門】スマホアプリ開発〜リリースまでの流れをご紹介
teamlab
PRO
0
340
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
What’s in a name? Adding method to the madness
productmarketing
PRO
15
2.6k
Rails Girls Zürich Keynote
gr2m
91
13k
Fantastic passwords and where to find them - at NoRuKo
philnash
36
2.5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.8k
In The Pink: A Labor of Love
frogandcode
138
21k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3k
How GitHub (no longer) Works
holman
304
140k
Building Effective Engineering Teams - LeadDev
addyosmani
27
1.8k
Become a Pro
speakerdeck
PRO
10
4.5k
The Invisible Customer
myddelton
114
12k
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