How do i enable user to login with new password after reseting it
I am trying to create a password reset system in django. So the issue is that I’m trying to login my user after resetting the password but the system throws an Invalid credentials error.
I used a custom user model that takes in username as the unique identifier.
Here is the login code in views.py
routers doesn’t look like a module path– django error
First time building a django site and keep running into this error with my index.html file for one of the sites that’ll hold a list of plants. The error I keep getting is: routers doesn’t look like a module path–. Any tips?
Send variable from HTML to python Django 5
Hi Im trying to build a html with python in backen (Django 5) and I trying to take a variable from HTML to python
I found this old question and try to use that Django – pass value from html template to python function
But I stuck in views.py I dont know how set path in url patters and I follow the answear,
please can some help to figure out this
Django – NoReverseMatch at /carro/
I’m learning how to make a basic e-commerce site, but I have this problem that appears when I add a product in the cart. I tried everything (I think) but still can’t make this cart to work.
It seems that the argument for “id_producto” is not reaching to nowhere.
Class-based functions: Invalid template name in ‘extends’ tag from the ‘layout_path’ variable
I downloaded a free template and now I’m trying to make some functions. It has class-based functions. And now I’m trying to make login function and it shows Invalid template name in 'extends' tag: ". Got this from the 'layout_path' variable.
Django show sqlite data on html site
I’m about to write code for a new web program with Django.
So the problem is that I want to have the data from the database (db.sqlite3) on the HTML page and that works fine but only if I add an item, otherwise the data is not shown. I would be really glad if someone can help me. Thanks!
How to pass a dictionary through to a template in Django
I am watching a django tutorial (Corey Schafer on how to build a webapp, however I had to use a different method of getting the template to appear. That is all working well. The function he uses has an argument where I don’t, that allows the dictionary to appear on the site. Any ideas on how to fix this? (sorry if this is a rookie question, I’m very new)
How Can I show just values of the dicitionary on HTML?
I have created a function to get some date from database, make some calculations and show it in HTML files. However I could not to get just values from views.
Django 5 use of static files with images
I´m trying to a picture to website with help of Django 5 and static files, the website its self is working with no error is diplayed in Django 5 but image is displayed