Skip to content

Commit a631c0d

Browse files
committed
fix docstring
1 parent a2b4947 commit a631c0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/django_idom/views.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313

1414
async def web_modules_file(request: HttpRequest, file: str) -> HttpResponse:
15-
"""Gets a web modules file. Web modules files from cache"""
15+
"""Gets JavaScript required for IDOM modules at runtime. These modules are
16+
returned from cache if available."""
1617
path = IDOM_WED_MODULES_DIR.current.joinpath(*file.split("/")).absolute()
1718
last_modified_time = os.stat(path).st_mtime
1819
cache_key = f"django_idom:web_module:{path}"

0 commit comments

Comments
 (0)