populating from excel to postgres via python script; in build django file:: myapp/management/commands/populate_myapp_station.py
python manage.py populate_myapp_station (django automatically created it)
admin can add stations and then select trainnumber via one to many relationship; many station one train
let say we will book 2AC 37 available
used atomicity (all or nothing); django built in function
after successfull payment user redirected to myticket page, wallet money deducted, seats updated in our case subtracted by 2 for train 1010 Ac
===
after jan 8
in def self im taking instance as passenger-name-createdby
if admin wants to cancel a ticket he check the checkbox
input the date get the day from date and simply filter in ORM