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

django version 5.1.3 requires the URL pattern in a specific way to work #11

Open
venkata2604 opened this issue Nov 23, 2024 · 0 comments

Comments

@venkata2604
Copy link

venkata2604 commented Nov 23, 2024

code/03 Urls and Views/04-redirecting/challenges/urls.py

This file needs to have urlpatterns as

urlpatterns = [
path("<int:month>"+ "/", views.monthly_challenge_by_number),
path("<str:month>"+ "/", views.monthly_challenge)
]

for int to work.

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