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

update url patterns #40

Open
lukruh opened this issue Apr 14, 2020 · 0 comments
Open

update url patterns #40

lukruh opened this issue Apr 14, 2020 · 0 comments

Comments

@lukruh
Copy link
Contributor

lukruh commented Apr 14, 2020

Django provided some new functionality for url patterns. Even if it's backward compatible, it would be nice to update it some when.
This is what djangos system check told me.

WARNINGS:
?: (urls.W002) Your URL pattern '/(?P<bot_token>.+?)/$' [name='webhook'] 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 '/'.

also update the include in the installation process.

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

No branches or pull requests

1 participant