@@ -0,0 +1,3 @@
+from django.contrib import admin
+
+# Register your models here.
@@ -0,0 +1,5 @@
+from django.apps import AppConfig
+class BotserverConfig(AppConfig):
+ name = 'botserver'
+from django.db import models
+# Create your models here.
+from django.test import TestCase
+# Create your tests here.
@@ -0,0 +1,6 @@
+from django.conf.urls import url
+from . import views
+urlpatterns = [
+ url(r'^events/', views.home, name = 'home')
+]
@@ -0,0 +1,7 @@
+from django.shortcuts import render
+from django.http import HttpResponse
+# Create your views here.
+def home(request):
+ return HttpResponse("Hello World")
@@ -274,3 +274,7 @@ if is_oidc_configured():
urlpatterns += [
url(r'^oidc/', include('mozilla_django_oidc.urls')),
]
+urlpatterns += [
+ url(r'^slack/', include('desktop.lib.botserver.urls')),
+ ]