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
560
1 API - 3 Framework - 30 minutes
yakky
0
92
Building real time applications with Django and Channels 2 @ DjangoCon Europe
yakky
1
580
Building real time applications with Django and Channels 2 @ PyCon Italia
yakky
0
430
Building real time applications with Django
yakky
0
540
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
370
Other Decks in Programming
See All in Programming
Jaspr Dart Web Framework 박제창 @Devfest 2024
itsmedreamwalker
0
150
ある日突然あなたが管理しているサーバーにDDoSが来たらどうなるでしょう?知ってるようで何も知らなかったDDoS攻撃と対策 #phpcon.2024
akase244
2
7.7k
Scaling your build logic
antalmonori
1
100
『改訂新版 良いコード/悪いコードで学ぶ設計入門』活用方法−爆速でスキルアップする!効果的な学習アプローチ / effective-learning-of-good-code
minodriven
28
4.2k
rails newと同時に型を書く
aki19035vc
5
710
php-conference-japan-2024
tasuku43
0
430
QA環境で誰でも自由自在に現在時刻を操って検証できるようにした話
kalibora
1
140
Flatt Security XSS Challenge 解答・解説
flatt_security
0
740
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
130
Fibonacci Function Gallery - Part 2
philipschwarz
PRO
0
210
AWSのLambdaで PHPを動かす選択肢
rinchoku
2
390
PHPカンファレンス 2024|共創を加速するための若手の技術挑戦
weddingpark
0
140
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
230
52k
Rails Girls Zürich Keynote
gr2m
94
13k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
500
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Done Done
chrislema
182
16k
GitHub's CSS Performance
jonrohan
1030
460k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Building Your Own Lightsaber
phodgson
104
6.2k
Building Applications with DynamoDB
mza
93
6.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
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