Skip to content

Commit

Permalink
修复中文切换问题
Browse files Browse the repository at this point in the history
  • Loading branch information
boy-hack committed Jun 25, 2019
1 parent e863627 commit b816232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/user/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
name='setting'
),
url(
regex=r'language/(\w+)?',
regex=r'language/([\w-]+)?',
view=views.switch_languag,
name='language'
)
Expand Down

0 comments on commit b816232

Please sign in to comment.