├── .gitignore ├── guest ├── __init__.py ├── migrations │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── 0002_guest.cpython-37.pyc │ │ ├── 0001_initial.cpython-37.pyc │ │ ├── 0003_auto_20181106_2124.cpython-37.pyc │ │ ├── 0004_auto_20181107_0936.cpython-37.pyc │ │ ├── 0005_auto_20181107_1125.cpython-37.pyc │ │ ├── 0006_auto_20181107_1319.cpython-37.pyc │ │ ├── 0007_auto_20181107_1334.cpython-37.pyc │ │ ├── 0008_auto_20181107_1404.cpython-37.pyc │ │ ├── 0009_auto_20181107_1413.cpython-37.pyc │ │ ├── 0010_auto_20181107_1421.cpython-37.pyc │ │ └── 0011_reservation_room_alloted.cpython-37.pyc │ ├── 0008_auto_20181107_1404.py │ ├── 0009_auto_20181107_1413.py │ ├── 0011_reservation_room_alloted.py │ ├── 0010_auto_20181107_1421.py │ ├── 0007_auto_20181107_1334.py │ ├── 0006_auto_20181107_1319.py │ ├── 0002_guest.py │ ├── 0004_auto_20181107_0936.py │ ├── 0003_auto_20181106_2124.py │ ├── 0005_auto_20181107_1125.py │ └── 0001_initial.py ├── tests.py ├── apps.py ├── __pycache__ │ ├── admin.cpython-37.pyc │ ├── forms.cpython-37.pyc │ ├── urls.cpython-37.pyc │ ├── utils.cpython-37.pyc │ ├── views.cpython-37.pyc │ ├── models.cpython-37.pyc │ └── __init__.cpython-37.pyc ├── templates │ └── guest │ │ ├── confirm.html │ │ ├── home.html │ │ ├── login.html │ │ ├── select.html │ │ ├── start.html │ │ ├── reg_form.html │ │ ├── edit.html │ │ ├── invoice.html │ │ ├── details.html │ │ ├── profile.html │ │ ├── bookings.html │ │ └── base.html ├── utils.py ├── admin.py ├── urls.py ├── forms.py ├── models.py └── views.py ├── hms ├── __init__.py ├── __pycache__ │ ├── urls.cpython-37.pyc │ ├── wsgi.cpython-37.pyc │ ├── __init__.cpython-37.pyc │ └── settings.cpython-37.pyc ├── wsgi.py ├── urls.py └── settings.py ├── selection ├── __init__.py ├── migrations │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── 0001_initial.cpython-37.pyc │ │ ├── 0003_student_no_dues.cpython-37.pyc │ │ └── 0002_auto_20180922_0049.cpython-37.pyc │ ├── 0003_student_no_dues.py │ ├── 0002_auto_20180922_0049.py │ └── 0001_initial.py ├── templates │ ├── BH5_Floor1.html │ ├── BH5_Floor2.html │ ├── BH5_Floor3.html │ ├── BH5_Floor5.html │ ├── BH5_GroundFloor.html │ ├── login.html │ ├── hostels_all.html │ ├── remove_due.html │ ├── add_due.html │ ├── select_room.html │ ├── repair_form.html │ ├── leave_form.html │ ├── home.html │ ├── reg_form.html │ ├── hostels.html │ ├── edit.html │ ├── student_leave.html │ ├── dues.html │ ├── base.html │ ├── present_leaves.html │ ├── empty_rooms.html │ ├── mess_rebate.html │ ├── bookings.html │ ├── profile.html │ ├── pending.html │ ├── guest_requests.html │ ├── warden.html │ ├── start.html │ └── BH5_Floor4.html ├── tests.py ├── urls.py ├── __pycache__ │ ├── admin.cpython-37.pyc │ ├── forms.cpython-37.pyc │ ├── models.cpython-37.pyc │ ├── views.cpython-37.pyc │ └── __init__.cpython-37.pyc ├── apps.py ├── admin.py ├── forms.py ├── models.py └── static │ └── selection │ └── style.css ├── HMS.png ├── db.sqlite3 ├── HMS -ERD.png ├── requirements.txt ├── README.md └── manage.py /.gitignore: -------------------------------------------------------------------------------- 1 | env/ -------------------------------------------------------------------------------- /guest/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hms/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /selection/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /guest/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /selection/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /selection/templates/BH5_Floor1.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /selection/templates/BH5_Floor2.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /selection/templates/BH5_Floor3.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /selection/templates/BH5_Floor5.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /selection/templates/BH5_GroundFloor.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /HMS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/HMS.png -------------------------------------------------------------------------------- /guest/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /db.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/db.sqlite3 -------------------------------------------------------------------------------- /selection/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /HMS -ERD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/HMS -ERD.png -------------------------------------------------------------------------------- /guest/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class GuestConfig(AppConfig): 5 | name = 'guest' 6 | -------------------------------------------------------------------------------- /hms/__pycache__/urls.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/hms/__pycache__/urls.cpython-37.pyc -------------------------------------------------------------------------------- /hms/__pycache__/wsgi.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/hms/__pycache__/wsgi.cpython-37.pyc -------------------------------------------------------------------------------- /guest/__pycache__/admin.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/__pycache__/admin.cpython-37.pyc -------------------------------------------------------------------------------- /guest/__pycache__/forms.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/__pycache__/forms.cpython-37.pyc -------------------------------------------------------------------------------- /guest/__pycache__/urls.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/__pycache__/urls.cpython-37.pyc -------------------------------------------------------------------------------- /guest/__pycache__/utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/__pycache__/utils.cpython-37.pyc -------------------------------------------------------------------------------- /guest/__pycache__/views.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/__pycache__/views.cpython-37.pyc -------------------------------------------------------------------------------- /selection/urls.py: -------------------------------------------------------------------------------- 1 | from django.conf.urls import url 2 | from django.urls import path 3 | from . import views 4 | 5 | urlpatterns = [ 6 | 7 | ] 8 | -------------------------------------------------------------------------------- /guest/__pycache__/models.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/__pycache__/models.cpython-37.pyc -------------------------------------------------------------------------------- /hms/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/hms/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /hms/__pycache__/settings.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/hms/__pycache__/settings.cpython-37.pyc -------------------------------------------------------------------------------- /guest/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /selection/__pycache__/admin.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/selection/__pycache__/admin.cpython-37.pyc -------------------------------------------------------------------------------- /selection/__pycache__/forms.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/selection/__pycache__/forms.cpython-37.pyc -------------------------------------------------------------------------------- /selection/__pycache__/models.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/selection/__pycache__/models.cpython-37.pyc -------------------------------------------------------------------------------- /selection/__pycache__/views.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/selection/__pycache__/views.cpython-37.pyc -------------------------------------------------------------------------------- /selection/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/selection/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /selection/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class SelectionConfig(AppConfig): 5 | name = 'selection' 6 | verbose_name = 'Hostel' 7 | -------------------------------------------------------------------------------- /guest/migrations/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/migrations/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /guest/migrations/__pycache__/0002_guest.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/migrations/__pycache__/0002_guest.cpython-37.pyc -------------------------------------------------------------------------------- /guest/migrations/__pycache__/0001_initial.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/migrations/__pycache__/0001_initial.cpython-37.pyc -------------------------------------------------------------------------------- /selection/migrations/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/selection/migrations/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /selection/migrations/__pycache__/0001_initial.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/selection/migrations/__pycache__/0001_initial.cpython-37.pyc -------------------------------------------------------------------------------- /guest/migrations/__pycache__/0003_auto_20181106_2124.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/migrations/__pycache__/0003_auto_20181106_2124.cpython-37.pyc -------------------------------------------------------------------------------- /guest/migrations/__pycache__/0004_auto_20181107_0936.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/migrations/__pycache__/0004_auto_20181107_0936.cpython-37.pyc -------------------------------------------------------------------------------- /guest/migrations/__pycache__/0005_auto_20181107_1125.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/migrations/__pycache__/0005_auto_20181107_1125.cpython-37.pyc -------------------------------------------------------------------------------- /guest/migrations/__pycache__/0006_auto_20181107_1319.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/migrations/__pycache__/0006_auto_20181107_1319.cpython-37.pyc -------------------------------------------------------------------------------- /guest/migrations/__pycache__/0007_auto_20181107_1334.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/migrations/__pycache__/0007_auto_20181107_1334.cpython-37.pyc -------------------------------------------------------------------------------- /guest/migrations/__pycache__/0008_auto_20181107_1404.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/migrations/__pycache__/0008_auto_20181107_1404.cpython-37.pyc -------------------------------------------------------------------------------- /guest/migrations/__pycache__/0009_auto_20181107_1413.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/migrations/__pycache__/0009_auto_20181107_1413.cpython-37.pyc -------------------------------------------------------------------------------- /guest/migrations/__pycache__/0010_auto_20181107_1421.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/migrations/__pycache__/0010_auto_20181107_1421.cpython-37.pyc -------------------------------------------------------------------------------- /selection/migrations/__pycache__/0003_student_no_dues.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/selection/migrations/__pycache__/0003_student_no_dues.cpython-37.pyc -------------------------------------------------------------------------------- /guest/migrations/__pycache__/0011_reservation_room_alloted.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/guest/migrations/__pycache__/0011_reservation_room_alloted.cpython-37.pyc -------------------------------------------------------------------------------- /selection/migrations/__pycache__/0002_auto_20180922_0049.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vedavikas06/Hostel-Management-System/HEAD/selection/migrations/__pycache__/0002_auto_20180922_0049.cpython-37.pyc -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | Django==2.1.2 2 | django-crispy-forms==1.7.2 3 | html5lib==1.0.1 4 | Pillow==5.3.0 5 | PyPDF2==1.26.0 6 | pytz==2018.7 7 | reportlab==3.5.9 8 | six==1.11.0 9 | webencodings==0.5.1 10 | xhtml2pdf==0.2.3 11 | -------------------------------------------------------------------------------- /guest/templates/guest/confirm.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 || 16 | First Name 17 | | 18 |19 | {{ res.guest.first_name }} 20 | | 21 |
| 25 | Last Name 26 | | 27 |28 | {{ res.guest.last_name}} 29 | | 30 |
| 33 | Phone no 34 | | 35 |36 | {{ res.guest.phone }} 37 | | 38 |
| 41 | E-Mail 42 | | 43 |44 | {{ res.guest.email }} 45 | | 46 |
| 49 | city 50 | | 51 |52 | {{ res.guest.city }} 53 | | 54 |
| 57 | Room No.. 58 | | 59 |60 | {{ res.room.no }} in Guest House 61 | 62 | | 63 |
| 66 | CheckIn 67 | | 68 |69 | {{ res.checkIn }} 70 | 71 | | 72 |
| 76 | CheckOut 77 | | 78 |79 | {{ res.checkOut }} 80 | 81 | | 82 |
| 69 | | |||||||||||||||||||||||||||||||||||
| 72 | | |||||||||||||||||||||||||||||||||||
| 76 | | 77 | | 78 | | 79 | | 80 | | 81 | | 82 | | Mess |
83 | 84 | | 85 | | 86 | | 87 | | 88 | 89 | | |||||||||||||||||||||||
| 93 | | 94 | | 95 | | 96 | | 97 | | 98 | | 99 | | 100 | | B |
101 | 102 | | 103 | | 104 | | 105 | | 106 | | 107 | | 108 | | 109 | | 110 | | 111 | | 112 | | 113 | | 114 | | 115 | | 116 | | 117 | | 118 | | B |
119 | 120 | | 121 | | 122 | | 123 | | 124 | | 125 | 126 | 127 | | |||
| 130 | | |||||||||||||||||||||||||||||||||||
| 133 | | 134 | | 135 | | 136 | | 137 | | 138 | | 139 | | 140 | | 141 | | 142 | | 143 | | 144 | | 145 | | 146 | | 147 | | 148 | | 149 | | 150 | | 151 | | 152 | | 153 | | 154 | | 155 | 156 | | |||||||||||||
| 159 | | 160 | | 161 | | 162 | | 163 | | 164 | | 165 | | 166 | | 167 | 168 | | |||||||||||||||||||||||||||
| 171 | | 172 | | 173 | | 174 | | 175 | | 176 | | 177 | | 178 | | 179 | 180 | | |||||||||||||||||||||||||||
| 183 | | 184 | | 185 | | 186 | | 187 | | 188 | | 189 | | 190 | | 191 | 192 | | |||||||||||||||||||||||||||
| 195 | | 196 | | 197 | | 198 | | 199 | | 200 | | 201 | | 202 | | 203 | 204 | | |||||||||||||||||||||||||||
| 207 | | 208 | | 209 | | 210 | | 211 | | 212 | | 213 | | 214 | | 215 | 216 | | |||||||||||||||||||||||||||
| 220 | | 221 | | 222 | | 223 | | 224 | | 225 | | 226 | 227 | | |||||||||||||||||||||||||||||
| 230 | | 231 | | 232 | | 233 | | 234 | | 235 | | 236 | 237 | | |||||||||||||||||||||||||||||
| 241 | | 242 | | 243 | | 244 | | 245 | | 246 | | 247 | | 248 | | 249 | 250 | | |||||||||||||||||||||||||||
| 253 | | 254 | | 255 | | 256 | | 14 |
257 | 258 | | 259 | | 260 | | 261 | 262 | | |||||||||||||||||||||||||||
| 266 | | 267 | | 268 | | 269 | | 13 |
270 | 271 | | 272 | | 273 | | 274 | 275 | | |||||||||||||||||||||||||||
| 278 | | 279 | | 280 | | 281 | | 12 |
282 | 283 | | 284 | | 285 | | 286 | 287 | | |||||||||||||||||||||||||||
| 291 | | 292 | | 293 | | 294 | | 11 |
295 | 296 | | 297 | | 298 | | 299 | 300 | | |||||||||||||||||||||||||||
| 305 | | 306 | | 307 | | 308 | | 309 | | 06 |
310 | 311 | | 04 |
312 | 313 | | 02 |
314 | 315 | | 316 | | 317 | | 318 | | 319 | | 320 | | 321 | | 322 | 323 | 324 | | ||||||||||||||||||
| 327 | | |||||||||||||||||||||||||||||||||||
| 330 | | 331 | | 332 | | 333 | | B |
334 | 10 |
335 | 09 |
336 | 337 | | 338 | | 07 |
339 | 340 | | 05 |
341 | 342 | | 03 |
343 | 344 | | 01 |
345 | 346 | | 347 | | 348 | | 349 | | 350 | | 351 | | 352 | | 353 | | 354 | | 355 | | 356 | | 357 | | B |
358 | 359 | | 360 | | |||||
| 363 | | 364 | | 365 | | 366 | | 08 |
367 | 368 | | Gate |
369 | 370 | | 371 | | 372 | | 373 | | |||||||||||||||||||||||||
| 376 | | |||||||||||||||||||||||||||||||||||
| 379 | | |||||||||||||||||||||||||||||||||||
| 382 | | |||||||||||||||||||||||||||||||||||