I have problem in the get number of whishlist and show this
like save correctly in to the database,but I don’t know how to get and show user favorite count.
my error now: AttributeError: 'list' object has no attribute 'objects'
.
I think the problem with my code is mostly in this parts:models.py count_favorites_by_session()
and views.py statuse_of_favorite_list()
favorite.py
I have some problem in the get number of whishlist and show this?
In the following this error…
I have problems getting the number of likes for products and removing likes from the list of favorites.
like correctly in the database (add to favorite) but I don’t know how to get their number and make it dynamic in JavaScript codes by Ajax.
django can not create a filed although i make makemigrations and migrate
hi i have a filed i cannot make it in database although i make makemigrations and migrte this is models.py
django a filed can not make it althougfh i make makemigrations and migrate
hi i have a filed i cannot make it in database although i make makemigrations and migrte this is models.py