Hello everyone,

I want a URL that accepts all characters. I found an example in
stackoverflow https://stackoverflow.com/a/11384464. As per the answer, I
need to use 'u' so that the string accepts unicode characters.

Here is my path. I use re_path.

 re_path(r'mutant_proteins/(?P<protein_name>[\w.*]+)/$',views.mutant_proteins,
            name="mutant_proteins",),

How can I use it so that it accepts unicode characters in the url ? I use
Django 3.2.

Thanks

Kannan

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADiZb_dEiY3299%3DP4CeG0Bxc6QC5wsjxD_-5nhVsfDb0_TBEjw%40mail.gmail.com.

Reply via email to