Skip to main content
========
Django SimpleTree
========

This is a simple Django apllication that provide an abstract class to create tree style models.
Using this model we can define unlimited number of subbranches only by one model class.
It also provides a django admin abstract class which helps to have a tree style list in the admin site.



Installation
============
Install the application package using pip::

pip install django-simpletree



add 'simpletree' to the INSTALLED_APPS list on your settings file

How to use
==========

Import the Node abstract model from simpletree and use it to create your tree style model::

from simpletree.models import Node

class MyModel(Node):
pass


In your application admin.py file import the NodeAdmin abstract ModelAdmin class and use it to register your model to the admin site::

from simpletree.admin import NodeAdmin


class MyAdmin(NodeAdmin):

class Meta:
model = MyModel

Metadata

Release files for django_simpletree 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for django_simpletree 0.1
File Interpreter ABI Platform
django_simpletree-0.1.tar.gz Details
django_simpletree-0.1.2.tar.gz Details
django_simpletree-0.1.1.tar.gz Details

Total release size: 7.7 kB

Release files / django_simpletree-0.1.tar.gz

Download URL django_simpletree-0.1.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a2d060390b601d97cdd2dc49122d489e77d76493e6cbe6d7559b4e8f853b0ad8
BLAKE2b-256 checksum
How to use checksums
155281e35be4b84067d87a0729a3083b105acc5a186b7d40ee3c80d0806de542
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_simpletree-0.1.2.tar.gz

Download URL django_simpletree-0.1.2.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
df14ca62ec80024572c437fb8aebf0526a188e4ab9f4835e05c51c7d71928c2b
BLAKE2b-256 checksum
How to use checksums
bb25f5907ae7e6dc2624646822479683bb4f2d78538083dce4788285d0d06150
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_simpletree-0.1.1.tar.gz

Download URL django_simpletree-0.1.1.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bdfef370974a4a33348f34cad686805f8b666f45a37671e8bd5711c339c89861
BLAKE2b-256 checksum
How to use checksums
e6914dfa65b0c99d27564ce9ab144bdaa4827a097eb07ce30e0a400939a69dae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page