<gh_stars>1-10
from django.http import JsonResponse


def index_view(request):
    """
    Function returns basic information about our project.
    """
    data = {
        'name': 'Mikaponics API Web-Service',
        'version': 1.0,
    }
    return JsonResponse(data)

from django.http import JsonResponse


def index_view(request):
    """
    Function returns basic information about our project.
    """
    data = {
        'name': 'Mikaponics API Web-Service',
        'version': 1.0,
    }
    return JsonResponse(data)
Function returns basic information about our project.