General database operations works with reworked, proxy-based typeclass system.
This commit is contained in:
parent
1be49e7bea
commit
14086e3b3d
3 changed files with 10 additions and 6 deletions
|
|
@ -312,11 +312,6 @@ class SharedMemoryModel(Model):
|
|||
def save(self, *args, **kwargs):
|
||||
"save method tracking process/thread issues"
|
||||
|
||||
# don't allow saving base objects
|
||||
if not self._meta.proxy:
|
||||
raise RuntimeError("Don't create instances of %s, "
|
||||
"use its child typeclasses instead." % self.__class__.__name__)
|
||||
|
||||
if _IS_SUBPROCESS:
|
||||
# we keep a store of objects modified in subprocesses so
|
||||
# we know to update their caches in the central process
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue