kopia lustrzana https://gitlab.com/marnanel/chapeau
busby_1st split out from bowler_pub. Intermediate checkin.
rodzic
2275c428a3
commit
2c273d0311
|
@ -22,13 +22,5 @@ urlpatterns = [
|
|||
path('users/<str:username>/followers', bowler_pub_views.FollowersView.as_view()),
|
||||
path('users/<str:username>/following', bowler_pub_views.FollowingView.as_view()),
|
||||
path('sharedInbox', bowler_pub_views.InboxView.as_view()),
|
||||
|
||||
# XXX We might want to split out the patterns that HAVE to be
|
||||
# at the root.
|
||||
|
||||
path('.well-known/host-meta', bowler_pub_views.HostMeta.as_view()),
|
||||
path('.well-known/webfinger', bowler_pub_views.Webfinger.as_view()),
|
||||
path('.well-known/nodeinfo', bowler_pub_views.NodeinfoPart1.as_view()),
|
||||
path('nodeinfo.json', bowler_pub_views.NodeinfoPart2.as_view()),
|
||||
]
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
default_app_config = 'busby_1st.apps.Busby1stConfig'
|
|
@ -0,0 +1,5 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
class Busby1stConfig(AppConfig):
|
||||
name = 'busby_1st'
|
||||
verbose_name = 'Busby (first point of contact)'
|
|
@ -0,0 +1,16 @@
|
|||
# busby_1st/urls.py
|
||||
#
|
||||
# Part of kepi.
|
||||
# Copyright (c) 2018-2020 Marnanel Thurman.
|
||||
# Licensed under the GNU Public License v2.
|
||||
|
||||
from django.urls import path, re_path
|
||||
import kepi.busby_1st.views as busby_views
|
||||
|
||||
urlpatterns = [
|
||||
path('.well-known/host-meta', busby_views.HostMeta.as_view()),
|
||||
path('.well-known/webfinger', busby_views.Webfinger.as_view()),
|
||||
path('.well-known/nodeinfo', busby_views.NodeinfoPart1.as_view()),
|
||||
path('nodeinfo.json', busby_views.NodeinfoPart2.as_view()),
|
||||
]
|
||||
|
|
@ -90,6 +90,7 @@ INSTALLED_APPS = (
|
|||
'django_fields',
|
||||
'polymorphic',
|
||||
|
||||
'kepi.busby_1st',
|
||||
'kepi.bowler_pub',
|
||||
'kepi.trilby_api',
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue