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

Misspelling in urls.py #212

Closed
insspb opened this issue Jun 27, 2021 · 2 comments · Fixed by #218
Closed

Misspelling in urls.py #212

insspb opened this issue Jun 27, 2021 · 2 comments · Fixed by #218

Comments

@insspb
Copy link

insspb commented Jun 27, 2021

Error:

geocoder_1  |     path(
geocoder_1  |   File "/usr/local/lib/python3.9/site-packages/django/urls/conf.py", line 70, in _path
geocoder_1  |     pattern = Pattern(route, name=name, is_endpoint=True)
geocoder_1  |   File "/usr/local/lib/python3.9/site-packages/django/urls/resolvers.py", line 259, in __init__
geocoder_1  |     self.converters = _route_to_regex(str(route), is_endpoint)[1]
geocoder_1  |   File "/usr/local/lib/python3.9/site-packages/django/urls/resolvers.py", line 240, in _route_to_regex
geocoder_1  |     raise ImproperlyConfigured(
geocoder_1  | django.core.exceptions.ImproperlyConfigured: URL route '<task_patern:group_id>/group/status/' uses invalid converter 'task_patern'.

Reason:

'<task_patern:group_id>/group/status/',

Should be:

'<task_pattern:group_id>/group/status/',

One t missed.

@insspb insspb changed the title Misspelling in urls.conf Misspelling in urls.py Jun 27, 2021
@auvipy
Copy link
Member

auvipy commented Jun 28, 2021

damn can you send fix

@insspb
Copy link
Author

insspb commented Jun 29, 2021

@auvipy, Excuse me I am on deadlines now and cannot do even small fixes, as for me even such small fix should have a test.
But I use pytest only tests :)

So I can only point and lookup for fixes.

@auvipy auvipy closed this as completed Jul 2, 2021
@auvipy auvipy linked a pull request Jul 2, 2021 that will close this issue
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