You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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')
The text was updated successfully, but these errors were encountered:
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')
The text was updated successfully, but these errors were encountered: