Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change preflang field in RegisterForm to a ChoiceField #191

Open
dirkcuys opened this issue Oct 26, 2012 · 0 comments
Open

Change preflang field in RegisterForm to a ChoiceField #191

dirkcuys opened this issue Oct 26, 2012 · 0 comments

Comments

@dirkcuys
Copy link
Member

Change the preflang field in RegisterForm to use a ChoiceField rather than a CharField. Make sure to set the initial value to the current locale (eg. if the user is browsing /en/register/ the initial value should be english)

See https://github.com/p2pu/lernanta/blob/master/lernanta/apps/users/forms.py#L124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant