Add ACL support to the linking app, convert import to absolute

This commit is contained in:
Roberto Rosario
2011-12-25 03:22:05 -04:00
parent eb9fb7141d
commit 7e9fbf4f47
8 changed files with 135 additions and 57 deletions

View File

@@ -1,10 +1,12 @@
from __future__ import absolute_import
from django.db import models
from django.db.models import Q
from metadata.classes import MetadataObject
from documents.models import Document
from linking.literals import INCLUSION_AND, INCLUSION_OR
from .literals import INCLUSION_AND, INCLUSION_OR
class SmartLinkManager(models.Manager):