Manually enables the configuration for the organization. Args: user (User): The user who enabled the configuration.
(self, user: User)
| 1121 | self.save() |
| 1122 | |
| 1123 | def enable_manually(self, user: User): |
| 1124 | """ |
| 1125 | Manually enables the configuration for the organization. |
| 1126 | |
| 1127 | Args: |
| 1128 | user (User): The user who enabled the configuration. |
| 1129 | """ |
| 1130 | self.disabled_comment += f"\nEnabled back by {user.username} at {now().strftime('%Y-%m-%d %H:%M:%S')}" |
| 1131 | self.enable() |
| 1132 | |
| 1133 | def enable(self): |
| 1134 | """ |