Refactoring SPOJ related code.
Some points -
scraper.py file must contain code to scrap the SPOJ website and get the content from it.
- Divide code for update and save the database in other files e.g. model_utils in Codeforces app.
cron.py must contain all the functions that we want to schedule.
Refactoring SPOJ related code.
scraper.pyfile.cron.pyfile.Some points -
scraper.pyfile must contain code to scrap the SPOJ website and get the content from it.cron.pymust contain all the functions that we want to schedule.