Hierarchical data metrics that allows fast read operations on tree like structures.
Based on Left and Right fields that are set during tree traversal. When entered into node value is set to it's Left, when exiting node value is set to it's Right.
" Make IE Better Compatible " | |
<!--[if IE]> | |
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
====================================================== | |
IE6 Only | |
================== | |
_selector {...} |
Hierarchical data metrics that allows fast read operations on tree like structures.
Based on Left and Right fields that are set during tree traversal. When entered into node value is set to it's Left, when exiting node value is set to it's Right.
from django.contrib.contenttypes.models import ContentType | |
from django.core.urlresolvers import reverse | |
from django.db import models | |
class AdminURLMixin(object): | |
def get_admin_url(self): | |
content_type = ContentType \ | |
.objects \ | |
.get_for_model(self.__class__) | |
return reverse("admin:%s_%s_change" % ( |