From fb6c409a9af5b8a686e977ee2251c359071e0ec3 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 6 Nov 2022 21:30:07 -0700 Subject: Rework task system and fetching. I can taste how close follow is to working. --- takahe/settings.py | 5 +++-- takahe/urls.py | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'takahe') diff --git a/takahe/settings.py b/takahe/settings.py index c3c8d38..78a8403 100644 --- a/takahe/settings.py +++ b/takahe/settings.py @@ -62,8 +62,9 @@ WSGI_APPLICATION = "takahe.wsgi.application" DATABASES = { "default": { - "ENGINE": "django.db.backends.sqlite3", - "NAME": BASE_DIR / "db.sqlite3", + "ENGINE": "django.db.backends.postgresql_psycopg2", + "NAME": "takahe", + "USER": "postgres", } } diff --git a/takahe/urls.py b/takahe/urls.py index f8bff07..304bc23 100644 --- a/takahe/urls.py +++ b/takahe/urls.py @@ -14,6 +14,7 @@ urlpatterns = [ path("@/", identity.ViewIdentity.as_view()), path("@/actor/", identity.Actor.as_view()), path("@/actor/inbox/", identity.Inbox.as_view()), + path("@/action/", identity.ActionIdentity.as_view()), # Identity selection path("@/activate/", identity.ActivateIdentity.as_view()), path("identity/select/", identity.SelectIdentity.as_view()), -- cgit v1.2.3