Skip to content
Commits on Source (2)
......@@ -101,7 +101,7 @@ class DevicesViewset(GenericViewSet):
:return: Fully qualified path to access the device.
:rtype: str
"""
device_id = self.kwargs[self.lookup_url_kwarg]
device_id = self.kwargs[self.lookup_field]
return self.client.device_path(self.config.project, self.config.location,
self.config.registry, device_id)
......
......@@ -57,7 +57,7 @@ author = u"Steve Graham"
# the built documents.
#
# The short X.Y version.
version = '0.2.0'
version = '0.3.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
......
[bumpversion]
current_version = 0.2.0
current_version = 0.3.0
commit = True
tag = True
......
......@@ -38,6 +38,6 @@ setup(
packages=find_packages(include=['dj_gcp_iotdevice', 'dj_gcp_iotdevice.*']),
setup_requires=setup_requirements,
url='https://gitlab.com/pennatus/dj_gcp_iotdevice',
version='0.2.0',
version='0.3.0',
zip_safe=False,
)