Code Monkey home page Code Monkey logo

ramiro / django-categories Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jazzband/django-categories

1.0 2.0 0.0 2.32 MB

This app attempts to provide a generic category system that multiple apps could use. It uses MPTT for the tree storage and provides a custom admin for better visualization (copied and modified from feinCMS).

Home Page: http://opensource.washingtontimes.com/projects/django-categories/

License: Apache License 2.0

Python 43.28% JavaScript 56.72%

django-categories's Introduction

Django Categories grew out of our need to provide a basic hierarchical taxonomy management system that multiple applications could use independently or in concert.

As a news site, our stories, photos, and other content get divided into "sections" and we wanted all the apps to use the same set of sections. As our needs grew, the Django Categories grew in the functionality it gave to category handling within web pages.

Features of the project

Multiple trees, or a single tree

You can treat all the records as a single tree, shared by all the applications. You can also treat each of the top level records as individual trees, for different apps or uses.

Easy handling of hierarchical data

We use Django MPTT to manage the data efficiently and provide the extra access functions.

Easy importation of data

Import a tree or trees of space- or tab-indented data with a Django management command.

Metadata for better SEO on web pages

Include all the metadata you want for easy inclusion on web pages.

Link uncategorized objects to a category

Attach any number of objects to a category, even if the objects themselves aren't categorized.

Hierarchical Admin

Shows the data in typical tree form with disclosure triangles

Template Helpers

Easy ways for displaying the tree data in templates:

Show one level of a tree

All root categories or just children of a specified category

Show multiple levels

Ancestors of category, category and all children of category or a category and its children

Contributors

  • Corey Oordt
  • Josh Ourisman
  • Justin Quick
  • Jose Soares
  • Erik Simmler

django-categories's People

Contributors

joshourisman avatar justquick avatar tgecho avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.