Jan Dittberner
cb62bd63e2
- add model CustomerPackageDiskUsage for hosting package disk usage statistics - add REST API endpoint for submittings statistics for disk, mysql and pgsql usage - add disk usage information to hosting package detail view - add separate hosting package disk usage statistic view
7 lines
188 B
Python
7 lines
188 B
Python
from rest_framework import serializers
|
|
|
|
from hostingpackages.models import CustomerPackageDiskUsage
|
|
|
|
|
|
class DiskUsageSerializer(serializers.Serializer):
|
|
user = serializers.CharField()
|