You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
437 B

import random
# import pyarabic.araby as araby
# from fuzzywuzzy import fuzz
# from utils.similarity import find_similarity ,rm_sign
import json
import os
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.develop')
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
from apps.hadis.models.category import HadisCategory
g = HadisCategory.objects.all()[2]
print(f'---> {g.parent}')