| Sapan Bhatia | 26d40bc | 2014-05-12 15:28:02 -0400 | [diff] [blame] | 1 | import os |
| 2 | import base64 | ||||
| 3 | from planetstack.config import Config | ||||
| 4 | |||||
| 5 | class Deleter: | ||||
| 6 | model=None # Must be overridden | ||||
| 7 | |||||
| 8 | def __init__(self, *args, **kwargs): | ||||
| 9 | pass | ||||
| 10 | |||||
| 11 | def call(self, pk, model_dict): | ||||
| 12 | # Fetch object from PlanetStack db and delete it | ||||
| 13 | pass | ||||
| 14 | |||||
| 15 | def __call__(self, *args, **kwargs): | ||||
| 16 | return self.call(*args, **kwargs) | ||||