├── irrigation ├── __init__.py ├── wsgi.py ├── urls.py └── settings.py ├── monitor ├── __init__.py ├── migrations │ ├── __init__.py │ ├── 0003_auto_20180317_2307.py │ ├── 0002_devicecontrol.py │ └── 0001_initial.py ├── tests.py ├── apps.py ├── urls_api.py ├── serializers.py ├── admin.py ├── models.py ├── urls.py ├── views.py └── views_api.py ├── .gitignore ├── Project Report - Iriigation system.pdf ├── templates ├── log.html ├── monitor │ ├── history.html │ ├── test.html │ ├── settings.html │ └── home.html └── base.html └── manage.py /irrigation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /monitor/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /monitor/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | *.pyc/ 3 | __pycache__/ 4 | migrations/ 5 | *.sqlite3 6 | -------------------------------------------------------------------------------- /monitor/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /monitor/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class MonitorConfig(AppConfig): 5 | name = 'monitor' 6 | -------------------------------------------------------------------------------- /Project Report - Iriigation system.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohitkh7/irrigation-system/HEAD/Project Report - Iriigation system.pdf -------------------------------------------------------------------------------- /templates/log.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {% for device in devices %} 7 | 8 | 9 | 10 | 11 | {% endfor %} 12 |
HumidityStatus
{{ device.moisture }}{{ device.status }}
13 | -------------------------------------------------------------------------------- /irrigation/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for irrigation project. 3 | 4 | It exposes the WSGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ 8 | """ 9 | 10 | import os 11 | 12 | from django.core.wsgi import get_wsgi_application 13 | 14 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "irrigation.settings") 15 | 16 | application = get_wsgi_application() 17 | -------------------------------------------------------------------------------- /monitor/migrations/0003_auto_20180317_2307.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.0.3 on 2018-03-17 17:37 2 | 3 | from django.db import migrations 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | dependencies = [ 9 | ('monitor', '0002_devicecontrol'), 10 | ] 11 | 12 | operations = [ 13 | migrations.RenameField( 14 | model_name='devicecontrol', 15 | old_name='current_state', 16 | new_name='set_state', 17 | ), 18 | ] 19 | -------------------------------------------------------------------------------- /monitor/urls_api.py: -------------------------------------------------------------------------------- 1 | """ 2 | API urls 3 | """ 4 | from django.urls import path, include 5 | 6 | from .views_api import create_status, read_instruction, last_status, all_status, update_mode, update_set 7 | 8 | urlpatterns = [ 9 | path('create/', create_status, name='create'), 10 | path('last/', last_status, name='last'), 11 | path('all/',all_status, name="all"), 12 | path('read/', read_instruction, name="read"), 13 | 14 | path('update-mode/',update_mode, name="update-mode"), 15 | path('update-set/',update_set, name="update-set"), 16 | ] 17 | -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import os 3 | import sys 4 | 5 | if __name__ == "__main__": 6 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "irrigation.settings") 7 | try: 8 | from django.core.management import execute_from_command_line 9 | except ImportError as exc: 10 | raise ImportError( 11 | "Couldn't import Django. Are you sure it's installed and " 12 | "available on your PYTHONPATH environment variable? Did you " 13 | "forget to activate a virtual environment?" 14 | ) from exc 15 | execute_from_command_line(sys.argv) 16 | -------------------------------------------------------------------------------- /monitor/migrations/0002_devicecontrol.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.0.3 on 2018-03-17 17:28 2 | 3 | from django.db import migrations, models 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | dependencies = [ 9 | ('monitor', '0001_initial'), 10 | ] 11 | 12 | operations = [ 13 | migrations.CreateModel( 14 | name='DeviceControl', 15 | fields=[ 16 | ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), 17 | ('current_state', models.BooleanField()), 18 | ], 19 | ), 20 | ] 21 | -------------------------------------------------------------------------------- /monitor/serializers.py: -------------------------------------------------------------------------------- 1 | from .models import DeviceState, DeviceControl 2 | from rest_framework import serializers 3 | 4 | 5 | class DeviceStateSerializer(serializers.ModelSerializer): 6 | class Meta: 7 | model = DeviceState 8 | # fields = ('humidity', 'status', 'time') 9 | fields = '__all__' 10 | 11 | 12 | class DeviceStateListSerializer(serializers.ListSerializer): 13 | child = DeviceStateSerializer() 14 | allow_null = True 15 | many = True 16 | 17 | 18 | class DeviceControlSerializer(serializers.ModelSerializer): 19 | class Meta: 20 | model = DeviceControl 21 | fields = ('set_state',) 22 | -------------------------------------------------------------------------------- /monitor/migrations/0001_initial.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.0.3 on 2018-03-17 15:39 2 | 3 | from django.db import migrations, models 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | initial = True 9 | 10 | dependencies = [ 11 | ] 12 | 13 | operations = [ 14 | migrations.CreateModel( 15 | name='DeviceState', 16 | fields=[ 17 | ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), 18 | ('humidity', models.IntegerField()), 19 | ('status', models.BooleanField()), 20 | ('time', models.DateTimeField(auto_now=True)), 21 | ], 22 | ), 23 | ] 24 | -------------------------------------------------------------------------------- /monitor/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | from .models import DeviceState, DeviceControl 3 | 4 | 5 | # Register your models here. 6 | class DeviceStateAdmin(admin.ModelAdmin): 7 | readonly_fields = ('time',) 8 | 9 | 10 | class DeviceControlAdmin(admin.ModelAdmin): 11 | list_display = ('set_state', 'lower_threshold', 'upper_threshold', 'mode') 12 | 13 | def has_add_permission(self, request): 14 | base_add_permission = super(DeviceControlAdmin, self).has_add_permission(request) 15 | if base_add_permission: 16 | # if there's already an entry, do not allow adding 17 | if DeviceControl.objects.exists(): 18 | return False 19 | return True 20 | 21 | 22 | admin.site.register(DeviceState, DeviceStateAdmin) 23 | admin.site.register(DeviceControl, DeviceControlAdmin) 24 | 25 | -------------------------------------------------------------------------------- /monitor/models.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | 3 | MODE_CHOICES = ( 4 | ('automated', 'Automated'), 5 | ('manual', 'Manual'), 6 | ) 7 | class DeviceState(models.Model): 8 | moisture = models.IntegerField(max) 9 | status = models.BooleanField() 10 | time = models.DateTimeField(auto_now=True, editable=True) 11 | 12 | def __str__(self): 13 | return "Device => Moisture:" + str(self.moisture) + " Status:" + str(self.status) 14 | 15 | 16 | class DeviceControl(models.Model): 17 | set_state = models.BooleanField() 18 | lower_threshold = models.IntegerField(default=100) 19 | upper_threshold = models.IntegerField(default=500) 20 | mode = models.CharField(max_length=10, choices=MODE_CHOICES, default='automated') 21 | 22 | def __str__(self): 23 | if self.set_state: 24 | return "Device ON" 25 | else: 26 | return "Device OFF" 27 | -------------------------------------------------------------------------------- /irrigation/urls.py: -------------------------------------------------------------------------------- 1 | """irrigation URL Configuration 2 | 3 | The `urlpatterns` list routes URLs to views. For more information please see: 4 | https://docs.djangoproject.com/en/2.0/topics/http/urls/ 5 | Examples: 6 | Function views 7 | 1. Add an import: from my_app import views 8 | 2. Add a URL to urlpatterns: path('', views.home, name='home') 9 | Class-based views 10 | 1. Add an import: from other_app.views import Home 11 | 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') 12 | Including another URLconf 13 | 1. Import the include() function: from django.urls import include, path 14 | 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) 15 | """ 16 | from django.contrib import admin 17 | from django.urls import path, include 18 | 19 | urlpatterns = [ 20 | path('admin/', admin.site.urls), 21 | path('', include('monitor.urls')), 22 | path('api/', include('monitor.urls_api')), 23 | ] 24 | -------------------------------------------------------------------------------- /templates/monitor/history.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | {% block 'body' %} 3 |

History

4 | 5 | 6 | 7 | 8 | {% for device in devices %} 9 | 10 | 11 | 12 | 13 | 14 | 15 | {% endfor %} 16 |
Moisture ValueMotor StatusTime
{{ device.moisture }}{% if device.status %}ON{% else %}OFF{% endif %}{{ device.time }}
17 | 26 | 27 | {% endblock %} -------------------------------------------------------------------------------- /monitor/urls.py: -------------------------------------------------------------------------------- 1 | """irrigation URL Configuration 2 | 3 | The `urlpatterns` list routes URLs to views. For more information please see: 4 | https://docs.djangoproject.com/en/2.0/topics/http/urls/ 5 | Examples: 6 | Function views 7 | 1. Add an import: from my_app import views 8 | 2. Add a URL to urlpatterns: path('', views.home, name='home') 9 | Class-based views 10 | 1. Add an import: from other_app.views import Home 11 | 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') 12 | Including another URLconf 13 | 1. Import the include() function: from django.urls import include, path 14 | 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) 15 | """ 16 | 17 | from django.urls import path, include 18 | from rest_framework import routers 19 | 20 | from .views import index, log, LogView, DeviceStateCreateView, DeviceControlUpdateView 21 | 22 | ''' 23 | REST Api 24 | from .views import DeviceControlViewSet, DeviceStateViewSet, 25 | router = routers.DefaultRouter() 26 | router.register(r'control', DeviceControlViewSet) 27 | router.register(r'state', DeviceStateViewSet) 28 | ''' 29 | 30 | urlpatterns = [ 31 | path('', index, name='index'), 32 | path('log/', log, name='log'), 33 | path('history/', LogView.as_view(), name="history"), 34 | path('test/', DeviceStateCreateView.as_view(), name="test"), 35 | path('settings//', DeviceControlUpdateView.as_view(), name="settings") 36 | ] 37 | -------------------------------------------------------------------------------- /monitor/views.py: -------------------------------------------------------------------------------- 1 | from django.contrib.messages.views import SuccessMessageMixin 2 | from django.shortcuts import render 3 | from django.http import HttpResponse 4 | from django.views.generic import ListView, CreateView, UpdateView 5 | from .models import DeviceState, DeviceControl 6 | 7 | 8 | def index(request): 9 | last_device = DeviceState.objects.last() 10 | device_history = DeviceState.objects.all().order_by('-time') 11 | device_control = DeviceControl.objects.last() 12 | data = { 13 | 'last_device': last_device, 14 | 'device_history': device_history[:3], 15 | 'device_control': device_control, 16 | } 17 | return render(request, 'monitor/home.html', data) 18 | 19 | 20 | def log(request): 21 | devices = DeviceState.objects.all().order_by('-id') 22 | return render(request, "log.html", {'devices': devices}) 23 | # return HttpResponse("History") 24 | 25 | 26 | class LogView(ListView): 27 | model = DeviceState 28 | ordering = ['-time'] 29 | template_name = 'monitor/history.html' 30 | context_object_name = 'devices' 31 | paginate_by = 20 32 | 33 | 34 | class DeviceStateCreateView(CreateView): 35 | model = DeviceState 36 | fields = ('moisture', 'status') 37 | template_name = "monitor/test.html" 38 | 39 | 40 | class DeviceControlUpdateView(SuccessMessageMixin, UpdateView): 41 | model = DeviceControl 42 | fields = ('lower_threshold', 'upper_threshold') 43 | template_name ="monitor/settings.html" 44 | success_message = "Settings updated successfully" 45 | success_url = '/settings/1/' -------------------------------------------------------------------------------- /templates/monitor/test.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | {% block 'body' %} 3 |
4 |

5 | Manual Testing 6 |

7 |
8 | 9 | {% if form.non_field_errors %} 10 | {% for error in form.non_field_errors %} 11 |
12 | {{ error }} 13 |
14 | {% endfor %} 15 | {% endif %} 16 | 17 | 18 |
19 |
20 |
21 |
22 |
23 | 24 |
25 | 26 |
27 |
28 | 29 |
30 |
31 |
32 | 33 |
34 | 35 |
36 |
37 | 38 | 42 |
43 |
44 |
45 | 46 |
47 | 48 |
49 |
50 |
51 |
52 |
53 |
54 | 55 | 56 | 57 | 58 | {% endblock %} -------------------------------------------------------------------------------- /templates/monitor/settings.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | {% block 'body' %} 3 |
4 |

5 | Settings 6 |

7 |
8 | 9 | {% if form.non_field_errors %} 10 | {% for error in form.non_field_errors %} 11 |
12 | {{ error }} 13 |
14 | {% endfor %} 15 | {% endif %} 16 | 17 | {% for message in messages %} 18 |
19 | {{ message }} 20 |
21 | {% endfor %} 22 |
23 |
24 |
25 |
26 |
27 | {% csrf_token %} 28 |
29 | 30 |
31 |
32 | 33 |
34 |
35 |
36 | 37 |
38 | 39 |
40 |
41 | 42 |
43 |
44 |
45 | 46 | 47 | 48 |
49 | 50 |
51 |
52 |
53 |
54 |
55 |
56 | 57 | 58 | 59 | 60 | {% endblock %} -------------------------------------------------------------------------------- /templates/base.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Irrigation System 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 36 | 37 |
38 | {% block 'body' %} 39 | {% endblock %} 40 |
41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /monitor/views_api.py: -------------------------------------------------------------------------------- 1 | import json 2 | from django.http import JsonResponse 3 | from django.core import serializers 4 | 5 | # from rest_framework import viewsets 6 | # from .serializers import DeviceControlSerializer, DeviceStateSerializer, DeviceStateListSerializer 7 | 8 | from .models import DeviceState, DeviceControl 9 | 10 | 11 | def check_device_moisture(request): 12 | last = last_status(request) 13 | last_state_of_device = json.loads(last.content.decode('utf-8')) 14 | current_moisture = last_state_of_device['moisture'] 15 | state, lower_threshold_moisture, upper_threshold_moisture, mode = get_device_detail() 16 | # It is following inverse value logic 17 | # To check whether mode is automated if not then skip 18 | print(mode) 19 | if mode == 'automated': 20 | if current_moisture < lower_threshold_moisture: 21 | turn_device(1) 22 | print("Device ON") 23 | 24 | if current_moisture > upper_threshold_moisture: 25 | turn_device(0) 26 | print("Device OFF") 27 | 28 | 29 | """ 30 | value == 1:ON ; 0:OFF 31 | """ 32 | def turn_device(value): 33 | obj = DeviceControl.objects.get(id=1) 34 | obj.set_state = value 35 | obj.save() 36 | 37 | 38 | def last_status(request): 39 | res = {} 40 | q = DeviceState.objects.last() 41 | res['moisture'] = q.moisture 42 | res['status'] = q.status 43 | return JsonResponse(res) 44 | 45 | 46 | def all_status(request): 47 | query = DeviceState.objects.all() 48 | s = serializers.serialize("json", query) 49 | return JsonResponse({'res': s}) 50 | 51 | 52 | def create_status(request): 53 | moisture = request.GET['moisture'] 54 | status = request.GET['status'] 55 | device = DeviceState(moisture=moisture, status=status) 56 | device.save() 57 | check_device_moisture(request) 58 | res = {'status': 1, 'message': 'device status updated'} 59 | return JsonResponse(res) 60 | 61 | 62 | def read_instruction(request): 63 | device_control = DeviceControl.objects.get(id=1) 64 | set_state = device_control.set_state 65 | return JsonResponse({'set_state': set_state}) 66 | 67 | 68 | def get_device_detail(): 69 | try: 70 | device = DeviceControl.objects.first() 71 | lower_threshold = device.lower_threshold 72 | upper_threshold = device.upper_threshold 73 | state = device.set_state 74 | mode = device.mode 75 | except: 76 | print("There is an Exception") 77 | lower_threshold = 15 78 | upper_threshold = 50 79 | state = False 80 | mode = 'automated' 81 | 82 | return (state, lower_threshold, upper_threshold, mode) 83 | 84 | 85 | def update_mode(request): 86 | device = DeviceControl.objects.first() 87 | set_mode_to = request.GET['mode'] 88 | device.mode = set_mode_to 89 | device.save() 90 | return JsonResponse({'msg':'Mode Updated'}); 91 | 92 | 93 | def update_set(request): 94 | device = DeviceControl.objects.first() 95 | set = request.GET['set'] 96 | device.set_state = set 97 | device.save() 98 | return JsonResponse({'msg':'Set_State Updated '+set}); -------------------------------------------------------------------------------- /irrigation/settings.py: -------------------------------------------------------------------------------- 1 | """ 2 | Django settings for irrigation project. 3 | 4 | Generated by 'django-admin startproject' using Django 2.0.3. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/2.0/topics/settings/ 8 | 9 | For the full list of settings and their values, see 10 | https://docs.djangoproject.com/en/2.0/ref/settings/ 11 | """ 12 | 13 | import os 14 | 15 | # Build paths inside the project like this: os.path.join(BASE_DIR, ...) 16 | BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 17 | 18 | 19 | # Quick-start development settings - unsuitable for production 20 | # See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/ 21 | 22 | # SECURITY WARNING: keep the secret key used in production secret! 23 | SECRET_KEY = 'gko^%0j3e=cbww%a*9)y%p5da&nt&g8$nl-xyx*_j(t3+i5jsv' 24 | 25 | # SECURITY WARNING: don't run with debug turned on in production! 26 | DEBUG = True 27 | 28 | ALLOWED_HOSTS = [ 29 | 'mohitkh7.pythonanywhere.com', 30 | '127.0.0.1', 31 | ] 32 | 33 | 34 | # Application definition 35 | 36 | INSTALLED_APPS = [ 37 | 'django.contrib.admin', 38 | 'django.contrib.auth', 39 | 'django.contrib.contenttypes', 40 | 'django.contrib.sessions', 41 | 'django.contrib.messages', 42 | 'django.contrib.staticfiles', 43 | 'monitor', 44 | ] 45 | 46 | MIDDLEWARE = [ 47 | 'django.middleware.security.SecurityMiddleware', 48 | 'django.contrib.sessions.middleware.SessionMiddleware', 49 | 'django.middleware.common.CommonMiddleware', 50 | 'django.middleware.csrf.CsrfViewMiddleware', 51 | 'django.contrib.auth.middleware.AuthenticationMiddleware', 52 | 'django.contrib.messages.middleware.MessageMiddleware', 53 | 'django.middleware.clickjacking.XFrameOptionsMiddleware', 54 | ] 55 | 56 | ROOT_URLCONF = 'irrigation.urls' 57 | 58 | TEMPLATES = [ 59 | { 60 | 'BACKEND': 'django.template.backends.django.DjangoTemplates', 61 | 'DIRS': [ 62 | 'templates/' 63 | ], 64 | 'APP_DIRS': True, 65 | 'OPTIONS': { 66 | 'context_processors': [ 67 | 'django.template.context_processors.debug', 68 | 'django.template.context_processors.request', 69 | 'django.contrib.auth.context_processors.auth', 70 | 'django.contrib.messages.context_processors.messages', 71 | ], 72 | }, 73 | }, 74 | ] 75 | 76 | WSGI_APPLICATION = 'irrigation.wsgi.application' 77 | 78 | 79 | # Database 80 | # https://docs.djangoproject.com/en/2.0/ref/settings/#databases 81 | 82 | DATABASES = { 83 | 'default': { 84 | 'ENGINE': 'django.db.backends.sqlite3', 85 | 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), 86 | } 87 | } 88 | 89 | 90 | # Password validation 91 | # https://docs.djangoproject.com/en/2.0/ref/settings/#auth-password-validators 92 | 93 | AUTH_PASSWORD_VALIDATORS = [ 94 | { 95 | 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', 96 | }, 97 | { 98 | 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', 99 | }, 100 | { 101 | 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', 102 | }, 103 | { 104 | 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', 105 | }, 106 | ] 107 | 108 | 109 | # Internationalization 110 | # https://docs.djangoproject.com/en/2.0/topics/i18n/ 111 | 112 | LANGUAGE_CODE = 'en-us' 113 | 114 | TIME_ZONE = 'Asia/Kolkata' 115 | 116 | USE_I18N = True 117 | 118 | USE_L10N = True 119 | 120 | USE_TZ = True 121 | 122 | CORS_ORIGIN_ALLOW_ALL = True 123 | 124 | # Static files (CSS, JavaScript, Images) 125 | # https://docs.djangoproject.com/en/2.0/howto/static-files/ 126 | 127 | STATIC_URL = '/static/' 128 | STATIC_ROOT = "/home/mohitkh7/irrigation-system/static" -------------------------------------------------------------------------------- /templates/monitor/home.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | {% block 'body' %} 3 |
4 |
5 |
6 |

Device Status

7 |
8 |

Moisture : {{ last_device.moisture }}

9 |

Pump Status: 10 | {% if last_device.status %} 11 | ON 12 | {% else %} 13 | OFF 14 | {% endif %} 15 |

16 |
17 |
18 |
19 |
20 |

Device Control

21 |
22 | 23 |
24 |
25 |        26 |
27 | 28 |
29 |
30 |
31 |
32 |

History

33 |
34 | 35 | 36 | 37 | 38 | {% for device in device_history %} 39 | 40 | 41 | 42 | 43 | 44 | {% endfor %} 45 | 46 | 49 | 50 |
Moisture ValueMotor StatusTime
{{ device.moisture }}{% if device.status %}ON{% else %}OFF{% endif %}{{ device.time | timesince}} ago ({{ device.time }})
47 | View Complete History 48 |
51 |
52 | 53 |
54 | 111 | 129 | {% endblock %} --------------------------------------------------------------------------------