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')
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')