khannakshat7 / Elektra

⚡ML powered Electricity Outage prediction⚡
https://elecktra.uc.r.appspot.com
MIT License
41 stars 84 forks source link

Feature to download feedback data as csv file #205

Closed arpit456jain closed 3 years ago

arpit456jain commented 3 years ago

currently there is no admin dashboard i guess so i can't add a button but i can write the backend for it .

you just have to go to /downloadFeedback

and this will download a csv file for you having data of feedback

khannakshat7 commented 3 years ago

@arpit456jain There is no need for this as django admin has a module to download DB data in CSV file

khannakshat7 commented 3 years ago

If you want to can implement that django admin module

arpit456jain commented 3 years ago

Well i don't know about that but i will try it

arpit456jain commented 3 years ago

@khannakshat7 i had implemented it successfully . have a look

https://user-images.githubusercontent.com/55352601/119626408-cea7ba00-be28-11eb-92d0-382355b4d2da.mp4

can I make a PR for this.?

arpit456jain commented 3 years ago

I used the module import_export == 2.5.0

khannakshat7 commented 3 years ago

Go ahead and make pr