Coder Social home page Coder Social logo

timgraham / django-sekizai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from django-cms/django-sekizai

0.0 2.0 1.0 150 KB

Django Template Blocks with extra functionality

Home Page: https://django-sekizai.readthedocs.io/

License: Other

Python 88.14% HTML 11.86%

django-sekizai's Introduction

Please refer to the documentation in the docs/ directory or on RTFD for help.

About this project:

The main reason I started this project was the lack of a good media (css/js) framework in django and the django-cms. Yes there is the Media class used in forms in django, but really that doesn't work that well. Usually the frontend guys want to decide on css and javascript files to be included and they don't want to have to edit Python files to change that neither did I want them to change my Python files. Therefor there was a need to allow you to edit contents of templates which are before or after the point where you are now. Also I wanted duplicates to be removed. As a result I wrote django-sekizai, which does exactly that. It's similar to blocks, just instead of inheriting them, you extend them.

There are some issue/restrictions with this implementation due to how the django template language works, but if used properly it can be very useful and it is the media handling framework for the django CMS (since version 2.2).

image

django-sekizai's People

Contributors

beniwohli avatar benjaoming avatar brutasse avatar gst avatar mickelus avatar ojii avatar pannal avatar tomscytale avatar trumpet2012 avatar yakky avatar

Watchers

 avatar  avatar

Forkers

caktus

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.