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

I want to change the labels of the login form #49

Open
Ghassem296 opened this issue Aug 8, 2023 · 0 comments
Open

I want to change the labels of the login form #49

Ghassem296 opened this issue Aug 8, 2023 · 0 comments

Comments

@Ghassem296
Copy link

helIo, I want to change the labels of the login form, but this does not happen. When running, these labels show their default state, "login" and "password". This is in the bookmarks example in the login form. thanks for your guide.

from django import forms
from django.contrib.auth.models import User
from .models import Profile

class LoginForm(forms.Form):
username = forms.CharField(label='Enter username')
password = forms.CharField(widget=forms.PasswordInput, label='Enter your pass')

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

No branches or pull requests

1 participant