-
Checkout target branch to your local environment.
-
Try to run the project from that revision. Ideally, you should start an application from scratch to reset any cached state on your local machine (for example - cached Celery modules). In the case of the Docker-based local environment, I would recommend to:
- stop all containers:
docker stop $(docker ps -a -q)
- remove all containers:
docker rm $(docker ps -a -q)
- remove all images:
docker rmi $(docker images -q)
- stop all containers:
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
LOGGING = { | |
'version': 1, | |
'disable_existing_loggers': False, | |
'handlers': { | |
'db_queries': { | |
'class': 'logging.handlers.TimedRotatingFileHandler', | |
'level': 'DEBUG', | |
'filename': os.path.join(LOG_DIR, 'db_queries.log'), | |
'when': 'midnight', | |
'formatter': 'verbose', |
Implement TreeView component with React library.
The component should render options list in the tree view. The tree view is given by the data structure mentioned below.
- The component should be named as
TreeView
. - The component should have next properties:
data
andindent
. Thedata
property is used to accept the data and theindent
property for accepting the number of spaces beforename
of item in its category.