dodan folder resources

This commit is contained in:
2024-01-10 12:44:55 +01:00
parent c5fb12ffb8
commit eaac31978f
5 changed files with 28 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ class Command(BaseCommand):
Programatically create entries for plovidba_aplikacija model ObjektSigurnosti
"""
def handle(self, *args, **options):
json_rpath = r'C:\Users\Student1\Desktop\plovidba\myenv\plovidba_projekt\plovidba_aplikacija\management\commands\testnipodaci.json'
json_rpath = os.path.join(settings.RESOURCES_DIR, 'testnipodaci.json')
created_entries = 0
existing_entries = 0