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
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.
*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
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`,
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.
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),]
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/
7 matches
Mail list logo