Upgrade Django from 5.2 to 6.0 (#20).
Align Model.save with keyword-only Django 6 API, fix recaptcha score widget usage, and make Payments.date use a callable default.
This commit is contained in:
+1
-5
@@ -19,11 +19,7 @@ class CaptchaForm(forms.Form):
|
||||
captcha = ReCaptchaField(
|
||||
public_key=settings.RECAPTCHA_PUBLIC_KEY,
|
||||
private_key=settings.RECAPTCHA_PRIVATE_KEY,
|
||||
widget=ReCaptchaV3(
|
||||
attrs={
|
||||
'required_score':0.85,
|
||||
}
|
||||
),
|
||||
widget=ReCaptchaV3(required_score=0.85),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user