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
| from dateutil.parser import parse | |
| date1 = parse('2006-01-02T15:04:05) | |
| date2 = parse('2006-01-02 15:04:05) | |
| date3 = parse('02/01/2006 15:04:05) |
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
| # Variables | |
| GIT_CURRENT_BRANCH := ${shell git symbolic-ref --short HEAD} | |
| BASE_DIR := ./ | |
| PKG_NAME := src | |
| SRC_DIR := $(BASE_DIR)/$(PKG_NAME)/ | |
| PYTHONPATH := ${shell pwd} | |
| init: | |
| @PYTHONPATH=$(PYTHONPATH) python manage.py db init | |
| migrate: |
OlderNewer