Django show sql query in shell
To show sql query in python manage.py shell, we use this code import logging l = logging.getLogger('django.db.backends') l.setLevel(logging.DEBUG) l. »
To show sql query in python manage.py shell, we use this code import logging l = logging.getLogger('django.db.backends') l.setLevel(logging.DEBUG) l. »
When using django-tastypie, I got some problems with security.
In my pinterest-clone application, I build a pin model.
A pin
is a image with a description and tags for it`
Watchdog is Python API and shell utilities to monitor file system events.
Watchdog come with a tool call watchmedo
to call shell command
when we get change on a directiory.
The “change” include: delete/modify/create a file in directory.