Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Django CMS anyone?

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #161981
    nixnerd
    Participant

    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?

    #161993
    Alen
    Participant

    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.

    #161994
    chrisburton
    Participant

    I wish I could remember why I was encouraged not to use Django.

    #161996
    nixnerd
    Participant

    https://www.django-cms.org/en/

    It’s confusing that the CMS is named “Django CMS.”

    #161998
    Alen
    Participant

    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.

    #162033
    nixnerd
    Participant

    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.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Other’ is closed to new topics and replies.