We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, How can I solve it?
setting.py `INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles',
'app_dashboard.apps.AppDashboardConfig', 'django_prometheus',
]`
`MIDDLEWARE = [ 'django_prometheus.middleware.PrometheusBeforeMiddleware',
'django_prometheus.middleware.PrometheusAfterMiddleware',
urls.py urlpatterns = [ path("admin/", admin.site.urls), path('', include('app_dashboard.urls')), path('gafana/', include('django_prometheus.urls')), ]
urlpatterns = [ path("admin/", admin.site.urls), path('', include('app_dashboard.urls')), path('gafana/', include('django_prometheus.urls')), ]
display: ModuleNotFoundError: No module named 'django_prometheus'
ModuleNotFoundError: No module named 'django_prometheus'
The text was updated successfully, but these errors were encountered:
Are you using a virtual environment? Did you install django-prometheus from within the environment?
django-prometheus
Sorry, something went wrong.
No branches or pull requests
Hello, How can I solve it?
setting.py
`INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
]`
`MIDDLEWARE = [
'django_prometheus.middleware.PrometheusBeforeMiddleware',
]`
urls.py
urlpatterns = [ path("admin/", admin.site.urls), path('', include('app_dashboard.urls')), path('gafana/', include('django_prometheus.urls')), ]
display:
ModuleNotFoundError: No module named 'django_prometheus'
The text was updated successfully, but these errors were encountered: