Closed dankrause closed 9 years ago
If there's a better place to put this, let me know, and I'll update the PR.
This should allow us to clean up after our unit tests, if we want.
Why not from the object itself; i.e.
GameScore.drop()
That is essentially what I'm doing here.
class GameScore(Object):
pass
GameScore.drop_class() # completely removes the GameScore class from your app
Odd, it doesn't seem to work when subclassing from Object. Only when subclassing from ParseBase (which Object is a subclass of...)
Any ideas?
It should work when subclassed from Object now. I've also renamed the method to just "drop", rather than "drop_class".
Or were you suggesting that I add the method to Object rather than ParseBase?
implments #100