Renamed the new_id() utility to new_pk() in the Mia core application.

This commit is contained in:
imacat committed 2020-07-23 23:24:42 +08:00
1 parent aefb5cc091
commit 6e49443b88
2 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ from django.db.models import Model, Q
from django.utils.translation import pgettext, get_language
def new_id(cls):
def new_pk(cls):
"""Finds a random ID that does not conflict with the existing data records.
Args: