Re: [PATCHES] pglister: make organization name generic

From: Célestin Matte <celestin(dot)matte(at)cmatte(dot)me>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL WWW <pgsql-www(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCHES] pglister: make organization name generic
Date: 2022-01-19 09:48:28
Message-ID: 9bea3703-57a6-db28-907a-465fb891a44a@cmatte.me
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

> I think it would be cleaner with a Context Processor similar to what
> we have in pgweb. Then this context processor could just return a dict
> of ORGANIZATION_INFO from setitngs.py, wihch would have a key for name
> and a key for motto perhaps?
>
> As for 3 -- I don't think we want to remove the postgresql branding It
> should be made optional though, perhaps by another parameter in said
> dict in the settings that would just make it load from different URLs
> and files?

All done in attached series of patches!

--
Célestin Matte

Attachment Content-Type Size
0001-Add-context-processor-to-define-organization-info.patch text/x-patch 1.9 KB
0002-Use-organization-name-and-motto-in-template-to-make-.patch text/x-patch 5.4 KB
0003-Add-options-in-settings.py-to-be-able-to-select-bann.patch text/x-patch 1.9 KB
0004-Add-generic-banner-files-no-mention-of-PostgreSQL.patch text/x-patch 15.0 KB

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Célestin Matte 2022-01-19 09:54:12 [PATCH] Fix typo in an unsubscribe-related message
Previous Message Jonathan Wright 2022-01-18 19:52:21 Re: Add AlmaLinux as Specifically Supported Distro