Adds translation tabs to django-admin-bootstrapped. For use with django-modeltranslation. NOTE: Not actively maintained. If you feel like taking over the project just give me a shout.
Python
Latest commit fc0c834 Sep 12, 2014 @jmagnusson Update README.md
Failed to load latest commit information.
bootstrap_modeltranslation
.gitignore
CHANGELOG.md
LICENSE
MANIFEST.in
README.md Update README.md Sep 12, 2014
example.png
requirements.txt Created setup and proper project structure May 27, 2013
setup.py Setup fix May 27, 2013

README.md

bootstrap-modeltranslation

PyPI version

Author: Jacob Magnusson. Follow me on Twitter

Overview

bootstrap-modeltranslation is a mini-package for adding tabbable django-modeltranslation translation fields to django-admin-bootstrapped. Example image

Tested with

Installation

Install using pip:

pip install bootstrap-modeltranslation

Add package to INSTALLED_APPS (order doesn't matter):

INSTALLED_APPS = (
    'django_admin_bootstrapped',
    'modeltranslation',
    ...
    'bootstrap_modeltranslation',
)

NOTE: bootstrap_modeltranslation must come before modeltranslation for tabbed translation fields to work

Copy the static files to your project:

python manage.py collectstatic

Import admin classes for inheritance and use just like you would the default ones (read the modeltranslation docs for more info).

from bootstrap_modeltranslation.admin import (
    TranslationAdmin,
    TranslationTabularInline,
    TranslationStackedInline,
    TranslationGenericTabularInline,
    TranslationGenericStackedInline)

class SomeModelAdmin(TranslationAdmin):
    pass

class SomeModelInlineAdmin(TranslationStackedInline):
    pass

Documentation

This document