8 lines
220 B
Python
8 lines
220 B
Python
|
|
import os
|
||
|
|
import django
|
||
|
|
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings')
|
||
|
|
django.setup()
|
||
|
|
|
||
|
|
from api.models import SupplierProfile
|
||
|
|
print("Supplier Profiles:", list(SupplierProfile.objects.all().values()))
|