forked from uncloud/uncloud
5d084a5716
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
13 lines
355 B
Python
13 lines
355 B
Python
from django.contrib.auth import get_user_model
|
|
from rest_framework import serializers
|
|
|
|
from .models import *
|
|
|
|
class VPNProductSerializer(serializers.ModelSerializer):
|
|
|
|
network_size = serializers.IntegerField(min_value=0,
|
|
max_value=128)
|
|
|
|
class Meta:
|
|
model = VPNProduct
|
|
fields = '__all__'
|