forked from 00dani/lemoncurry
Introduce some very, VERY basic support for micropub - only h-entry works, and only the name and content properties can actually be set, but it works
This commit is contained in:
parent
a3f23e3b4d
commit
9a98fcdf4f
7 changed files with 68 additions and 0 deletions
|
@ -85,6 +85,7 @@ INSTALLED_APPS = [
|
|||
'entries',
|
||||
'home',
|
||||
'lemonauth',
|
||||
'micropub',
|
||||
'users',
|
||||
'wellknowns',
|
||||
]
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
|
||||
<link rel="authorization_endpoint" href="{{ origin }}{% url 'lemonauth:indie' %}" />
|
||||
<link rel="token_endpoint" href="{{ origin }}{% url 'lemonauth:token' %}" />
|
||||
<link rel="micropub_endpoint" href="{{ origin }}{% url 'micropub:micropub' %}" />
|
||||
<link rel="openid.delegate" href="{{ origin }}" />
|
||||
<link rel="openid.server" href="https://openid.indieauth.com/openid" />
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ urlpatterns = [
|
|||
url('^.well-known/', include('wellknowns.urls')),
|
||||
url('^admin/', otp_admin_site.urls),
|
||||
url('^auth/', include('lemonauth.urls')),
|
||||
url('^micropub', include('micropub.urls')),
|
||||
url('^s/', include('shorturls.urls')),
|
||||
|
||||
url(r'^sitemap\.xml$', sitemap.index, maps, name='sitemap'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue