Skip to content

Commit

Permalink
remove api playgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
areski committed Sep 30, 2014
1 parent 911d7dd commit 503641c
Show file tree
Hide file tree
Showing 18 changed files with 11,805 additions and 12,983 deletions.
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -23,6 +23,9 @@ create-static:
makeallmessages:
cd $(PRJ_DIR) && ./manage.py makemessages -s -a -e ".html,.txt"

compilemessages:
cd $(PRJ_DIR) && ./manage.py compilemessages

test:
python setup.py nosetests

Expand Down
Empty file.
82 changes: 0 additions & 82 deletions cdr_stats/api/api_playgrounds/switch_playground.py

This file was deleted.

26 changes: 0 additions & 26 deletions cdr_stats/api/api_playgrounds/urls.py

This file was deleted.

45 changes: 0 additions & 45 deletions cdr_stats/api/api_playgrounds/views.py

This file was deleted.

147 changes: 0 additions & 147 deletions cdr_stats/api/api_playgrounds/voip_call_playground.py

This file was deleted.

47 changes: 0 additions & 47 deletions cdr_stats/api/api_playgrounds/voip_rate_playground.py

This file was deleted.

4 changes: 3 additions & 1 deletion cdr_stats/api/voip_rate_api.py
Expand Up @@ -139,7 +139,9 @@ def read(self, request=None, **kwargs):
destination_prefix_list = prefix_list_string(str(recipient_phone_no))
prefixlist = destination_prefix_list.split(",")
#Get Rate List
rate_list = VoIPRetailRate.objects.values('prefix', 'retail_rate', 'prefix__destination').filter(prefix__in=[int(s) for s in prefixlist])
rate_list = VoIPRetailRate.objects\
.values('prefix', 'retail_rate', 'prefix__destination')\
.filter(prefix__in=[int(s) for s in prefixlist])
logger.debug('Voip Rate API : result OK 200')
return self.create_response(request, rate_list)
else:
Expand Down

0 comments on commit 503641c

Please sign in to comment.