django-favorite
django-favorite copied to clipboard
Change function view to class based view
Add a name 'favit' for the url and use it in button/html Add a mixins.py file with mixins classes Use data-attribute in html instead wrong html attributes inside a button Use settings.AUTH_USER_MODEL instead 'auth.User' on the ForeignKey