0

I need to create multilingual website. But there is a problem with the login address. Do you know, how I can have /login/ for EN and /prihlasit/ for CS, etc... ?

I can specify just one login url in my settings.py

tomas
  • 1
  • 1

2 Answers2

1

It might be overkill for you, but one way is to use multiple site instances (one per language) as detailed in this SO answer.

Community
  • 1
  • 1
Van Gale
  • 43,536
  • 9
  • 71
  • 81
0

I may be missing something here but can't /prihlasit/ be a login form in Czech which POSTs to /login/ when the user presses the submit button?

David Webb
  • 190,537
  • 57
  • 313
  • 299