first commit

This commit is contained in:
H.T. Kruitbosch committed 2017-11-14 09:51:57 +01:00
1 parent 6c01cd24a0
commit 8d744a916f
55 files changed
+12311

No files matched your search

Whitespace-only changes.
@@ -0,0 +1,19 @@
from django.core.management.base import BaseCommand, CommandError
from django.conf import settings
try:
import urllib # python 2
except:
import urllib.request as urllib # python 3
class Command(BaseCommand):
help = 'Initialize saml2 authentication files'
def add_arguments(self, parser):
pass
def handle(self, *args, **options):
urllib.urlretrieve(settings.SAML_PROVIDER_METADATA_URL, os.path.join())