Updated create.create_object to be faster. Made AttributeHandler.add() handle bulk-adding of Attributes and with a slightly more efficient way to create new Attributes.

This commit is contained in:
Griatch 2014-07-01 00:46:20 +02:00
parent cda13989f6
commit 05d21ef4f7
3 changed files with 74 additions and 30 deletions

View file

@ -43,6 +43,8 @@ from django.forms import CharField, Textarea
from django.forms.util import flatatt
from django.utils.html import format_html
from src.utils.dbserialize import from_pickle, to_pickle
try:
from django.utils.encoding import force_text
except ImportError: