I am trying to customize my Django forms using widget tweaks for an app I'm building with a group and I keep getting an error:
ModuleNotFoundError: No module named 'widget_tweaks'
I don't understand why.
I installed the module on my mac with $ pip install django-widget-tweaks and placed 'widget_tweaks' in the INSTALLED_APPS = [...] part of my app's settings.py file. Those were the only 2 things I saw that I needed to do after reading the documentation for how to use widget tweaks.
settings.py file snippet:
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'PupsToPet.apps.PupstopetConfig',
'widget_tweaks',
#'django.contrib.easy_maps',
]
Try to install with pip3:
pip3 install django-widget-tweaks
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With