Django application for aggregating measurements time series
pip install django-measurements
-
Install requirements
pip install django
-
Create a django project from scratch
django-admin startproject measurements_server
-
Add measurements and other application to the INSTALLED_APPS setting of your Django project settings.py file
INSTALLED_APPS = ( ... 'measurements', 'django_extensions', 'django.contrib.postgres', 'psqlextra', )
-
Configure the project urls adding the following rows to the urls.py of your Django project urls.py file
urlpatterns = [ path('admin/', admin.site.urls), path('measurements/', include('measurements.urls')), ]