This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| This script to initate a new django project with its applications. | |
| It also add applications in settings.py and create templates and static folders, | |
| and add their paths in settings.py as will | |
| NOTE: you must install python>3.7 and django>2.0 before run this script | |
| ''' | |
| import os, subprocess | |
| def GetData(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| This script to reset migrations and delete database for this project. | |
| NOTE: This file must placed into the django project folder | |
| and run it by type "python reset.py" | |
| ''' | |
| import os | |
| import shutil | |
| import glob | |
| # Stopping paramter | |
| check = True |