~linuxgoose/bocpress

ref: 6ed45057c9f060d7715c485f1840a2dd2aad494c bocpress/main/scheme.py -rw-r--r-- 134 bytes
6ed45057Jordan Robinson release 1.3.6 8 days ago
                                                                                
1
2
3
4
5
6
7
8
from django.conf import settings


def get_protocol():
    if settings.DEBUG:
        return "http:"
    else:
        return "https:"