summaryrefslogtreecommitdiff
path: root/ishtar/furnitures/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar/furnitures/models.py')
-rw-r--r--ishtar/furnitures/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar/furnitures/models.py b/ishtar/furnitures/models.py
index 1dcb920c3..fa504ba59 100644
--- a/ishtar/furnitures/models.py
+++ b/ishtar/furnitures/models.py
@@ -25,7 +25,7 @@ import datetime
from django.core.exceptions import ObjectDoesNotExist
from django.utils.translation import ugettext_lazy as _
-from django.contrib.auth.models import User, UserManager
+from django.contrib.auth.models import User
from django.contrib.gis.db import models
from django.contrib import admin
@@ -48,7 +48,7 @@ class GeneralType(models.Model):
return self.label
class BaseHistorizedItem(models.Model):
- history_modifier = models.ForeignKey("IshtarUser", related_name='+',
+ history_modifier = models.ForeignKey(User, related_name='+',
verbose_name=_(u"Last modifier"))
def save(self, *args, **kwargs):
try: