How to dump results and progress of a script in a log file

2020-05-06 Thread Sherif Adigun
Django has the logging feature. You definitely want to log success or errors in the second option while importing data into the database. See Django logging system https://docs.djangoproject.com/en/3.0/topics/logging/ -- You received this message because you are subscribed to the Google Group

How to dump results and progress of a script in a log file

2020-05-05 Thread Ram
Hi, We are running a script from our Django App's admin control and this script is going to 1. extract the data from XML feed or an API and insert the results into a db table 2. once the data is saved in a db table, the data will be presented in front app page 3. but we want to dump the output an