0.7.47
fix admin base models
This commit is contained in:
@@ -10,6 +10,12 @@ import re
|
||||
numbers = '0123456789.,'
|
||||
|
||||
|
||||
def get_fieldsNames_of_model(model):
|
||||
|
||||
fields_names = [item.name for item in model._meta.get_fields()]
|
||||
return fields_names
|
||||
|
||||
|
||||
def get_unique_url(model, name, url=None):
|
||||
from .functions import url_translit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user