Skip to main content

Social Networks settings for wagtail sites.

Project description

Wagtail SB Social Networks

Social Networks settings for Wagtail sites.

Community-Project

PyPI - Supported versions PyPI - Package version PyPI - Downloads PyPI - License Codacy Grade Badge Codacy Coverage Badge Gitlab Pipeline Status

This library provides an easy and reusable way to configure and access Social Networks settings across your Wagtail sites. It uses Wagtail's site settings to let administrators input social profiles intuitively.

✨ Features

  • Global Settings: Configure social media links that apply globally or per-site.
  • Easy Integration: Access social networks seamlessly in your Django templates.
  • Modern Stack: Built with Python 3.11+, Django 4.2+, and Wagtail 5.2+.

📋 Requirements

  • Python 3.11 or higher
  • Wagtail 5.2 or higher
  • Django 4.2 or higher

📦 Installation

Using pip

pip install wagtail-sb-socialnetworks

Using uv

uv add wagtail-sb-socialnetworks

🚀 Usage

Add the app to your INSTALLED_APPS in settings.py:

INSTALLED_APPS = [
    # ...
    "wagtail_sb_socialnetworks",
    # ...
]

Run migrations:

python manage.py migrate

Now you can configure your social networks inside the Wagtail admin interface under Settings > Social Networks.

To access them in your templates, use the settings context processor or Wagtail's settings tag:

{% load wagtailsettings_tags %}
{% get_settings %}

<a href="{{ settings.wagtail_sb_socialnetworks.SocialNetworksSettings.facebook }}">Facebook</a>

🛠️ Development

Check out our Contribution Guide for details on setting up your development environment, running tests, and submitting pull requests.

The project uses uv for dependency management, ruff for linting, and tox for multi-environment testing.

📜 Changelog

See the CHANGELOG.md for a history of changes.

👥 Contributors

See our list of contributors.

📄 License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail_sb_socialnetworks-0.8.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wagtail_sb_socialnetworks-0.8.0-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file wagtail_sb_socialnetworks-0.8.0.tar.gz.

File metadata

  • Download URL: wagtail_sb_socialnetworks-0.8.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for wagtail_sb_socialnetworks-0.8.0.tar.gz
Algorithm Hash digest
SHA256 92116a2c6a6a1c17d4b0c8956d2fe5d2309522a60125ea5c29e83679961b2b08
MD5 6d5bd7d9107d66d02d55dde6f8132ea4
BLAKE2b-256 97f7d191f7d98d6251a650ce4b01937311494bbb057d6396146e3bc2a08f6939

See more details on using hashes here.

File details

Details for the file wagtail_sb_socialnetworks-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: wagtail_sb_socialnetworks-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for wagtail_sb_socialnetworks-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63eccf3ea5efed383906b1a7fa9047045eeba8f418ccc668f6bde5cea9353071
MD5 90a9e8e032da6caecc7a0381aea51ac2
BLAKE2b-256 07563babdc6f2b58853998a043b43143db8b9e0ebb94021c8c83b0b81106a6aa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page