ohmyapi 0.1.16__tar.gz → 0.1.17__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.
Files changed (24) hide show
  1. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/PKG-INFO +1 -1
  2. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/pyproject.toml +1 -1
  3. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/core/scaffolding.py +1 -1
  4. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/README.md +0 -0
  5. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/__init__.py +0 -0
  6. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/__main__.py +0 -0
  7. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/builtin/auth/__init__.py +0 -0
  8. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/builtin/auth/models.py +0 -0
  9. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/builtin/auth/permissions.py +0 -0
  10. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/builtin/auth/routes.py +0 -0
  11. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/cli.py +0 -0
  12. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/core/__init__.py +0 -0
  13. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/core/runtime.py +0 -0
  14. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/core/templates/app/__init__.py.j2 +0 -0
  15. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/core/templates/app/models.py.j2 +0 -0
  16. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/core/templates/app/routes.py.j2 +0 -0
  17. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/core/templates/project/README.md.j2 +0 -0
  18. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/core/templates/project/pyproject.toml.j2 +0 -0
  19. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/core/templates/project/settings.py.j2 +0 -0
  20. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/db/__init__.py +0 -0
  21. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/db/exceptions.py +0 -0
  22. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/db/model/__init__.py +0 -0
  23. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/db/model/model.py +0 -0
  24. {ohmyapi-0.1.16 → ohmyapi-0.1.17}/src/ohmyapi/router.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ohmyapi
3
- Version: 0.1.16
3
+ Version: 0.1.17
4
4
  Summary: A Django-like but async web-framework based on FastAPI and TortoiseORM.
5
5
  License-Expression: MIT
6
6
  Keywords: fastapi,tortoise,orm,async,web-framework
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ohmyapi"
3
- version = "0.1.16"
3
+ version = "0.1.17"
4
4
  description = "A Django-like but async web-framework based on FastAPI and TortoiseORM."
5
5
  license = "MIT"
6
6
  keywords = ["fastapi", "tortoise", "orm", "async", "web-framework"]
@@ -53,7 +53,7 @@ def startproject(name: str):
53
53
  def startapp(name: str, project: str):
54
54
  """Create a new app inside a project: templates go into <project_dir>/<name>/"""
55
55
  target_dir = Path(project)
56
- target_dir.makedirs(exist_ok=True)
56
+ target_dir.mkdir(exist_ok=True)
57
57
  render_template_dir("app", target_dir, {"project_name": target_dir.resolve().name, "app_name": name}, subdir_name=name)
58
58
  print(f"✅ App '{name}' created in project '{target_dir}' successfully.")
59
59
  print(f"🔧 Remember to add '{name}' to your INSTALLED_APPS!")
File without changes
File without changes
File without changes