• Members 41 posts
    June 22, 2018, 7:25 a.m.

    someone like use unicode as name also, eg, no-english language user like use own native language ,

    I try to open the ability but not sure if is possible for django

  • June 22, 2018, 8:35 a.m.

    In Django username may be anything, but in Misago usernames are more alike to Twitter handles. They are purposefully simple so its simple for other users to memorize and type them, and for our username handling logic to be simple as well.

    If you want to let users use their own native language, you should instead focus on exposing real names in the UI. Foundations for this have been introduced in Misago 0.18 in form of user.get_real_name() in python and django templates, and user.real_name in JavaScript.

  • Members 41 posts
    June 22, 2018, 9:38 a.m.

    thanks for reply... just maybe user like use own way or language ... I have try to do this feature but face a problem, I modify the validators.py that allow input unicode string , it is ok but failed while load the user profile link, I guess need modify the url pattern ?
    it report error like:
    NoReverseMatch at /console/users/accounts/

    Reverse for 'user' with keyword arguments '{'pk': 20, 'slug': 'wang-bu-san'}' not found. 1 pattern(s) tried: ['u/(?P<slug>[a-zA-Z0-9]+)/(?P<pk>\d+)/$']

    seem it not support link 'Jenitfy-Alphbet' like this , but I see the link of Thread can do this way, can you give me some tip ? many thanks for your guide

  • June 24, 2018, 12:23 p.m.

    just maybe user like use own way or language

    If you feel that creating fork of Misago is right way to cater for your users preferences, you are free too do it. Just keep on mind that general wisdom for how this issue should be handled dictates the opposite of your approach.

    I have try to do this feature

    You will have to modify every place in Misago that deals with usernames. This means username validation in python and javascript, urls, creating private threads and message editor.

    This is very similiar to what was already discussed here.