Skip to main content

Tabbed UI for django-modeltrans

Project description

django-modeltrans-tabs

Add a tabbed UI to django-modeltrans translation fields in the Django Admin.

Tabbed translation admin UI.

Installation

Use your preferred package manager:

pip install django-modeltrans-tabs

Setup

Just two steps to enable. First, update your settings.py:

INSTALLED_APPS = [
    # Ensure staticfiles is installed
    "django.contrib.staticfiles",
    #
    # Add modeltrans-tabs:
    "modeltrans_tabs",
]

Then, inherit the mixin from your ModelAdmin:

from modeltrans_tabs.admin import TabbedLanguageMixin


class MyModelAdmin(TabbedLanguageMixin, admin.ModelAdmin):
    ...

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

django_modeltrans_tabs-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

django_modeltrans_tabs-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file django_modeltrans_tabs-0.1.0.tar.gz.

File metadata

  • Download URL: django_modeltrans_tabs-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.5 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for django_modeltrans_tabs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c15dfe7fc896811f7e0f25eb6de63047fda1c1dd53237bdd7ee02900b22cbcb4
MD5 003ec01d03351b75831317c31a96910e
BLAKE2b-256 e5b9a6d361dbaa8e3aadc89a69d022cefb1b74298fed0e1416ac8670648c2e39

See more details on using hashes here.

File details

Details for the file django_modeltrans_tabs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_modeltrans_tabs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.5 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for django_modeltrans_tabs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e02b457abccf875b0c5a7f73ad7c4bd5267e42c63590ea1496b239cdd017fbaf
MD5 30cffb9df26aca5e426b1feb5b80a6e0
BLAKE2b-256 37d5b0fb59ae69a79c55ccda68abce198bbca883ace1c91c12b8d9485148e61c

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