@@ -17,4 +17,3 @@
from django.contrib import admin
-# Register your models here.
from django.db import models
-# Create your models here.
from django.test import TestCase
-# Create your tests here.
@@ -17,8 +17,9 @@
from django.shortcuts import render
from django.http import HttpResponse
+from desktop.lib.django_util import login_notrequired
-# Create your views here.
+@login_notrequired
def home(request):
return HttpResponse("Hello World")
@@ -275,6 +275,7 @@ if is_oidc_configured():
url(r'^oidc/', include('mozilla_django_oidc.urls')),
]
+# Slack botserver URLs
if SLACK.ENABLE_SLACK_INTEGRATION.get():
urlpatterns += [
url(r'^slack/', include('desktop.lib.botserver.urls')),