Skip to content

Instantly share code, notes, and snippets.

View nikolaskhodov's full-sized avatar
🎯
Focusing

Nikolas Khodov nikolaskhodov

🎯
Focusing
  • Prague, Czech Republic
View GitHub Profile
############# init parent django project settings
from os import path
import sys
sys.path.append(path.dirname(path.dirname(path.abspath(__file__))))
import settings
from django.core.management import setup_environ
setup_environ(settings)
###############