You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to validate my spectacular configuration with the CLI like this : python manage.py spectacular --color --validate --fail-on-warn --api-version v1
And i have this warning: Warning: unexpected pattern "en/" encountered while simplifying urlpatterns.
When i search it seems that this is due to function detype_pattern which tests different class of pattern but not LocalePrefixPattern.
How could i change my configuration to resolve this warning ?
Thanks,
Regards,
The text was updated successfully, but these errors were encountered:
can you state an example to make this easier to reproduce? How are you using LocalePrefixPattern and how does the full path look like?
Seems like a bug, so we need to fix this and there is probably nothing you can do with the configuration alone (except for not using LocalePrefixPattern 😄 )
Hello,
I'm trying to validate my spectacular configuration with the CLI like this :
python manage.py spectacular --color --validate --fail-on-warn --api-version v1
And i have this warning:
Warning: unexpected pattern "en/" encountered while simplifying urlpatterns.
When i search it seems that this is due to function detype_pattern which tests different class of pattern but not LocalePrefixPattern.
How could i change my configuration to resolve this warning ?
Thanks,
Regards,
The text was updated successfully, but these errors were encountered: