Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url pattern has error #11

Closed
kwangsooshin opened this issue Aug 31, 2020 · 1 comment · Fixed by #12
Closed

url pattern has error #11

kwangsooshin opened this issue Aug 31, 2020 · 1 comment · Fixed by #12

Comments

@kwangsooshin
Copy link
Contributor

When I use this with swagger, I get the following error:

url pattern does not end in $ ('admin/log-viewer/^json/(?P<file_name>[\.\w-]*)/(?P<page>[0-9]+)') - unexpected things might happen
url pattern does not end in $ ('admin/log-viewer/^json/(?P<file_name>[\.\w-]*)') - unexpected things might happen

Can you fix this?

@agusmakmun
Copy link
Owner

@kwangsooshin when I merge your P.R and try to run, it has:

WARNINGS:
?: (urls.W002) Your URL pattern '^/?$' [name='log_file_view'] has a route beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '
/'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants