Remove check of datestring if trying to load an replaced class from an Attribute

This commit is contained in:
Griatch 2017-09-17 14:02:14 +02:00
parent 59e2e136e0
commit 4f8d70118e
2 changed files with 14 additions and 10 deletions

View file

@ -255,9 +255,9 @@ CONN_MAX_AGE = 3600 * 7
# is, there is a 1:1 pk mapping between the old and the new), the unserializer
# can convert old to new when retrieving them. This is a list of tuples
# (old_natural_key, new_natural_key). Note that Django ContentTypes'
# natural_keys are themselves tuples (appname, modelname). If new_natural_key
# does not exist, `None` will be returned and stored back as if no replacement
# was set.
# natural_keys are themselves tuples (appname, modelname). Creation-dates will
# not be checked for models specified here. If new_natural_key does not exist,
# `None` will be returned and stored back as if no replacement was set.
ATTRIBUTE_STORED_MODEL_RENAME = [
((u"players", u"playerdb"), (u"accounts", u"accountdb")),
((u"typeclasses", u"defaultplayer"), (u"typeclasses", u"defaultaccount"))]