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
42
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
540
1 API - 3 Framework - 30 minutes
yakky
0
91
Building real time applications with Django and Channels 2 @ DjangoCon Europe
yakky
1
560
Building real time applications with Django and Channels 2 @ PyCon Italia
yakky
0
420
Building real time applications with Django
yakky
0
520
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
350
Other Decks in Programming
See All in Programming
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
100
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
220
Amazon Bedrock Agentsを用いてアプリ開発してみた!
har1101
0
330
ActiveSupport::Notifications supporting instrumentation of Rails apps with OpenTelemetry
ymtdzzz
1
230
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
100
cmp.Or に感動した
otakakot
2
150
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
170
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.2k
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
110
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
ヤプリ新卒SREの オンボーディング
masaki12
0
130
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.7k
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Practical Orchestrator
shlominoach
186
10k
Documentation Writing (for coders)
carmenintech
65
4.4k
Six Lessons from altMBA
skipperchong
27
3.5k
Automating Front-end Workflow
addyosmani
1366
200k
Code Review Best Practice
trishagee
64
17k
Designing for humans not robots
tammielis
250
25k
Rails Girls Zürich Keynote
gr2m
94
13k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Into the Great Unknown - MozCon
thekraken
32
1.5k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
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