9ec0807d3c
- Included sensor_data in the INSTALLED_APPS of settings.py. - Added URL path for sensor_data in urls.py to enable API access.
8 lines
186 B
Python
8 lines
186 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class SensorDataConfig(AppConfig):
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
name = "sensor_data"
|
|
verbose_name = "Sensor Data"
|