From ef73e5b5339e82e3ae3995cab32040e57b1d113b Mon Sep 17 00:00:00 2001 From: keeranbyge Date: Tue, 28 Oct 2025 21:40:38 +0530 Subject: [PATCH 1/2] Add Fosstodon link to fundraising/thank-you.html --- fundraising/templates/fundraising/thank-you.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 fundraising/templates/fundraising/thank-you.html diff --git a/fundraising/templates/fundraising/thank-you.html b/fundraising/templates/fundraising/thank-you.html new file mode 100644 index 0000000000..e7442db5e8 --- /dev/null +++ b/fundraising/templates/fundraising/thank-you.html @@ -0,0 +1,6 @@ +

+ Follow us on + @djangoproject + or + @django on Fosstodon +

From fac221ce4012761691447d26d7457dad97f2d69a Mon Sep 17 00:00:00 2001 From: keeranbyge Date: Wed, 31 Dec 2025 18:50:55 +0530 Subject: [PATCH 2/2] docs: clarify local setup for update_metrics --- README.rst | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README.rst b/README.rst index 6af48d35f6..6ffeea6e41 100644 --- a/README.rst +++ b/README.rst @@ -393,3 +393,34 @@ If the an error is found an appropriate error message will be displayed. If the error was with ``isort`` then the tool will go ahead and fix them for you. Review the changes and re-stage for commit if you are happy with them. + + +update_metrics local setup +-------------------------- + +When running:: + + python manage.py update_metrics + +locally, you may see:: + + permission denied for table ticket + +This is a local setup requirement, not a production issue. + +Required steps: + +1. Create the databases:: + + createdb djangoproject + createdb code.djangoproject + +2. Import the Trac schema:: + + psql -d code.djangoproject < tracdb/trac.sql + +3. Ensure the PostgreSQL user configured in + ``settings/common.py`` has permission to read tables + in ``code.djangoproject``. + +After this setup, ``update_metrics`` should run successfully.