~linuxgoose/bocpress

ref: 874d462b904e85d3867e2e552d6b9f8a1daeeaf7 bocpress/main/scheme.py -rw-r--r-- 134 bytes
874d462bJordan Robinson fix existing usernames in creation 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:"