ohmyapi 0.1.16__py3-none-any.whl → 0.1.17__py3-none-any.whl

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.
@@ -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!")
@@ -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
@@ -7,7 +7,7 @@ ohmyapi/builtin/auth/routes.py,sha256=re3w7fZ9q9tUXDsQtkFcKizuEmtjxnebVA2lIO7afk
7
7
  ohmyapi/cli.py,sha256=Mip1eBKYyu1hmUHbNW-1kSMc05EJOTVXqdI0c0r_B4g,4440
8
8
  ohmyapi/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  ohmyapi/core/runtime.py,sha256=l5zffc4VTwQOo7G9mfiYHsPGapMONRX_jtO_z9QaKHU,8577
10
- ohmyapi/core/scaffolding.py,sha256=G9XKm-6vYs7yIGBRO7-3EGSTr2xVCeqeQLV1bmPhvnk,2542
10
+ ohmyapi/core/scaffolding.py,sha256=Wf-cTC6l2iZETrIbLTT2l6lrNqgI67BSAO4V1nWQPhA,2539
11
11
  ohmyapi/core/templates/app/__init__.py.j2,sha256=QwVIQVUGZVhdH1d4NrvL7NTsK4-T4cihzYs8UVX2dt4,43
12
12
  ohmyapi/core/templates/app/models.py.j2,sha256=_3w-vFJ5fgsmncsCv34k_wyCMF78jufbSSglns4gbb0,119
13
13
  ohmyapi/core/templates/app/routes.py.j2,sha256=MoaAgzTkbr0GbuEic_fKn0PkCLERK8bB-mDlssOxYzE,438
@@ -19,7 +19,7 @@ ohmyapi/db/exceptions.py,sha256=I7AubrdqQF_UvAvzKqz2ve08-BkXHzEWXnwG300StHE,35
19
19
  ohmyapi/db/model/__init__.py,sha256=k3StTNuKatpwZo_Z5JBFa-927eJrzibFE8U4SA82asc,32
20
20
  ohmyapi/db/model/model.py,sha256=BajFtLlQ1s0mZ2hj-_JNQhLQmxuVe-Lw2LuW5t2C7Rw,1579
21
21
  ohmyapi/router.py,sha256=hutccsrP9RT8W5O6uBDhOJehwqrkRoPzaUI5zoHPh9A,55
22
- ohmyapi-0.1.16.dist-info/METADATA,sha256=DkBnka_fGGbY_RDY9QupwYBy_HoVZpG1yX9mB29u2Vc,8766
23
- ohmyapi-0.1.16.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
24
- ohmyapi-0.1.16.dist-info/entry_points.txt,sha256=wb3lw8-meAlpiv1mqcQ3m25ukL7djagU_w89GkrC37k,43
25
- ohmyapi-0.1.16.dist-info/RECORD,,
22
+ ohmyapi-0.1.17.dist-info/METADATA,sha256=GfIo2FeVezZltV9W2vWlj3F-gqVvuyhy0X4tw0YmUjw,8766
23
+ ohmyapi-0.1.17.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
24
+ ohmyapi-0.1.17.dist-info/entry_points.txt,sha256=wb3lw8-meAlpiv1mqcQ3m25ukL7djagU_w89GkrC37k,43
25
+ ohmyapi-0.1.17.dist-info/RECORD,,