mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-22 09:38:18 +00:00
14 lines
350 B
Python
14 lines
350 B
Python
import logging
|
|
from tastypie.resources import ModelResource
|
|
|
|
|
|
class BaseResource(ModelResource):
|
|
logger = logging.getLogger(__name__)
|
|
pass
|
|
|
|
def _remove_kwargs(self, *args, **kwargs):
|
|
for arg in args:
|
|
if arg in kwargs:
|
|
del kwargs['activity_sharing_networks_facebook']
|
|
|
|
return kwargs |