Set the creation counter value for this instance and increment the class-level copy.
(self)
| 126 | cls._meta.add_manager(self) |
| 127 | |
| 128 | def _set_creation_counter(self): |
| 129 | """ |
| 130 | Set the creation counter value for this instance and increment the |
| 131 | class-level copy. |
| 132 | """ |
| 133 | self.creation_counter = BaseManager.creation_counter |
| 134 | BaseManager.creation_counter += 1 |
| 135 | |
| 136 | def db_manager(self, using=None, hints=None): |
| 137 | obj = copy.copy(self) |
no outgoing calls
no test coverage detected