Replace str(self.id)
Move PermissionMixin to base/decorators.py
Fix import order.
Move tests to new class. Use RemoTestCase.