Skip to content

Commit

Permalink
Added "namespace=" (#282)
Browse files Browse the repository at this point in the history
Added a namespace
Otherwise, the error assert path == "" or path.startswith("/"), "Routed paths must start with '/'"
  • Loading branch information
DJWOMS authored Apr 4, 2024
1 parent 6273d44 commit 1304544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs_src/routing/routes/include/app/app.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from esmerald import Esmerald, Include

app = Esmerald(routes=[Include("src.urls")])
app = Esmerald(routes=[Include(namespace="src.urls")])

0 comments on commit 1304544

Please sign in to comment.