Renamed the new_id() utility to new_pk() in the Mia core application.
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user