'Why is Sweetify not working on my project?
Sweetify does not work in my project. I went ahead according to document but it does not work Does anyone know what the problem is?
this is my view enter image description here
Solution 1:[1]
Try these steps and please check the code that I answered.
pip install --upgrade sweetify
Check INSTALLED_APPS section in settings.py
INSTALLED_APPS = [ ... 'sweetify' ]Be sure you imported sweetify in views.py
import sweetify
If all are them is okay try this on your function .
sweetify.error(request, 'You did it', text='Error', persistent='Error')
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | enes islam |
