django-ninja-aio-crud 0.9.0__tar.gz → 0.9.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: django-ninja-aio-crud
3
- Version: 0.9.0
3
+ Version: 0.9.2
4
4
  Summary: Django Ninja AIO CRUD - Rest Framework
5
5
  Author: Giuseppe Casillo
6
6
  Requires-Python: >=3.10
@@ -1,6 +1,6 @@
1
1
  """Django Ninja AIO CRUD - Rest Framework"""
2
2
 
3
- __version__ = "0.9.0"
3
+ __version__ = "0.9.2"
4
4
 
5
5
  from .api import NinjaAIO
6
6
 
@@ -150,7 +150,7 @@ class APIViewSet:
150
150
  self.path = "/"
151
151
  self.get_path = ""
152
152
  self.path_retrieve = f"{{{self.model_util.model_pk_name}}}/"
153
- self.get_path_retrieve = f"/{{{self.model_util.model_pk_name}}}"
153
+ self.get_path_retrieve = f"{{{self.model_util.model_pk_name}}}"
154
154
  self.api_route_path = (
155
155
  self.api_route_path or self.model_util.verbose_name_path_resolver()
156
156
  )
@@ -363,6 +363,5 @@ class APIViewSet:
363
363
 
364
364
  def add_views_to_route(self):
365
365
  return self.api.add_router(
366
- f"{self.api_route_path}",
367
- self._add_views(),
366
+ f"{self.api_route_path}", self._add_views()
368
367
  )