Renamed the new_id() utility to new_pk() in the Mia core application.
This commit is contained in:
1 parent
aefb5cc091
commit
6e49443b88
2 files changed
+6
-6
No files matched your search
+1
-1
@@ -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