networkapi.system package¶
Subpackages¶
Submodules¶
networkapi.system.exceptions module¶
- exception networkapi.system.exceptions.InvalidIdNameException(detail=None)[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = 'Invalid Name for Variable.'¶
- status_code = 400¶
- exception networkapi.system.exceptions.InvalidIdValueException(detail=None)[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = 'Invalid Value for Variable.'¶
- status_code = 400¶
- exception networkapi.system.exceptions.InvalidInputException(detail=None)[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = 'Invalid input.'¶
- status_code = 400¶
- exception networkapi.system.exceptions.VariableDoesNotExistException(detail=None)[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = 'Variable Does Not Exist.'¶
- status_code = 404¶
networkapi.system.facade module¶
networkapi.system.models module¶
- class networkapi.system.models.Variable(*args, **kwargs)[source]¶
Bases: networkapi.models.BaseModel.BaseModel
Variable(id, name, value, description)
- exception DoesNotExist¶
Bases: django.core.exceptions.ObjectDoesNotExist
- exception Variable.MultipleObjectsReturned¶
Bases: django.core.exceptions.MultipleObjectsReturned
- Variable.log = <celery.utils.log.ProcessAwareLogger object at 0x7fdee2fed610>¶
- Variable.objects = <networkapi.models.BaseManager.BaseManager object at 0x7fdee2fed890>¶
networkapi.system.permissions module¶
networkapi.system.serializers module¶
networkapi.system.tests module¶
This file demonstrates writing tests using the unittest module. These will pass when you run “manage.py test”.
Replace this with more appropriate tests for your application.