swciitg / django_hacktober_2022

A portal to book rooms, issue keys at New SAC, IITG.
3 stars 11 forks source link

Auto add data to column when starting the project #25

Open ArpitSureka opened 1 year ago

ArpitSureka commented 1 year ago

Make necessary changes in the project so that whenever the run server command is called few sample rooms are added to the Rooms table.

banner29 commented 1 year ago

Hey, I am interested in this issue. Can you please clarify the requirements? "whenever the runserver command is getting executed, some sample entries should get added in the table."

what is the use-case of this? why are we storing (writing DB/ making write DB queries) everytime we execute the runserver command?

please answer these question to get me started on the issue.