- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘Other’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I need to know if any of you have any experience with Django CMS. If so, what can you tell me about theme development? How involved is it? How does it compare to a WordPress theme?
Django is a framework not CMS.
However the framework handles View part of MVC that is how you do your “themeing”. But in MVC frameworks there’s no such thing as theme, maybe template is a better term. For example in Laravel using Blade templeting engine…
// Set master layout /views/layouts/master.blade.php
<html>
<head></head>
<body>
@yield('content')
</body>
</html>
// Particular rendered view with data /views/page/index.blade.php
@extends('layouts.master')
@section('content')
<p>This will be injected into the template</p>
<p>If there's data provided by view echo it using braces</p>
{{ $author->name }}
@stop
You have all the flexibility now to create how ever many templates you need, just @extends
them and that’s it.
Hope that helps.
I wish I could remember why I was encouraged not to use Django.
https://www.django-cms.org/en/
It’s confusing that the CMS is named “Django CMS.”
Ha. I didn’t know there was DjangoCMS. Anyways… The above still applies. I’m not sure how Django (framework) file directory is structured, but go into the folder responsible for Views/Templates and start creating.
I didn’t either until about a month ago.
Thanks for the tip @Alen. Always appreciated.
I haven’t worked in Django too much but I do know I personally prefer Python to PHP. Therefore, I’d like a CMS that reflects that. I think I’m going to give Django CMS a try on my local server and if I like it… I’ll use it on my VPS.
I read a glowing review of it somewhere about 2 weeks ago.