Initial changes to support the new Django 1.6 project structure
This commit is contained in:
8
mayan/apps/document_indexing/managers.py
Normal file
8
mayan/apps/document_indexing/managers.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
class IndexManager(models.Manager):
|
||||
def get_by_natural_key(self, name):
|
||||
return self.get(name=name)
|
||||
Reference in New Issue
Block a user