Hi Chris,
The quality of your code is very poor and needs to be generally improved,
in the meantime, Django already has a built-in "Change Password Form" that
you can use `django.contrib.auth.forms.PasswordChangeForm` (
https://github.com/django/django/blob/042b381e2e37c0c37b8a8f6cc9947f1a2ebfa0dd/
Ruby
Thank you very much. I tried adding the request argument to my form
subclass
and got this...
AttributeError: 'WSGIRequest' object has no attribute 'get'
I don't understand how/why tweaking my form this way will solve the session
issue.
My form only gets the new password from the user.
I wrote it myself. Why?
cs
On Wednesday, November 6, 2024 at 2:34:02 PM UTC-6 Ken BHHO wrote:
> @cseb Where did you get that Django Code?
>
> On Wed, 6 Nov 2024 at 15:07, Ruby wrote:
>
>> Your code needs to be refactored, here is the real deal, your
>> ChangePassowrdFrom is missing `request`,
*1. Project-Level urls.py Configuration:*
Your project's urls.py currently includes:
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('land/', include('land.urls')),
path('admin/', admin.site.urls),
]
This setup routes any URL starting with lan
HElllo my friend. In the url path for "pen" add "/" after pen. Try and lest
us know. Successes and blessed colleague
El jue, 7 nov 2024 a las 10:49, Heman Okumbo ()
escribió:
> Hello everyone,my project is not displaying the page on the browser though
> I've followed the Django project tutorial.
Remove the slash /
Just do
localhost:8000/pen
On Thu, 7 Nov 2024, 21:19 Heman Okumbo, wrote:
> Hello everyone,my project is not displaying the page on the browser though
> I've followed the Django project tutorial.
> my project urls:
>
>
> from django.contrib import admin
> from django.urls impo
Hello everyone,my project is not displaying the page on the browser though
I've followed the Django project tutorial.
my project urls:
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('land/', include('land.urls')),path('admin/', admin.site.urls),]
7 matches
Mail list logo