Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ get_migration_name_timestamp
Function
get_migration_name_timestamp
django/db/migrations/utils.py:23–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
22
23
def
get_migration_name_timestamp():
24
return
datetime.datetime.now().strftime(
"%Y%m%d_%H%M"
)
25
26
27
def
resolve_relation(model, app_label=None, model_name=None):
Callers
2
handle_merge
Method · 0.90
suggest_name
Method · 0.90
Calls
1
now
Method · 0.45
Tested by
no test coverage detected