From af023bfc6a9e2b154fdf465341883d1753dd0e7b Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 28 Nov 2010 17:46:20 +0100 Subject: [PATCH] default settings --- pandora/annotaion/models.py | 2 +- pandora/user/models.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pandora/annotaion/models.py b/pandora/annotaion/models.py index f2e754ca8..3fafa2b58 100644 --- a/pandora/annotaion/models.py +++ b/pandora/annotaion/models.py @@ -15,11 +15,11 @@ from django.db import models from django.db.models import Q from django.contrib.auth.models import User from django.core.files.base import ContentFile -from django.utils import simplejson as json from django.conf import settings from ox.django import fields import ox +from ox.utils import json from ox import stripTags from ox.normalize import canonicalTitle, canonicalName diff --git a/pandora/user/models.py b/pandora/user/models.py index 946694dd2..6312af7ba 100644 --- a/pandora/user/models.py +++ b/pandora/user/models.py @@ -1,13 +1,14 @@ # -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 +from datetime import datetime from django.contrib.auth.models import User from django.db import models from django.db.models import signals from django.dispatch import dispatcher -from django.utils import simplejson as json -from datetime import datetime +from django.conf import settings +from ox.utils import json class UserProfile(models.Model): recover_key = models.TextField()