DNX / django-oscar-rosetta

An extension to django-oscar to allow the use of rosetta in the dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-oscar-rosetta

This is an extension for the django-oscar e-commerce framework. It adds rosetta into the dashboard so that it looks more native and doesn't require translators or translation maintainers to access the django admin.

Installation

  • pip install from github
  • Add both oscar_rosetta and rosetta into your installed apps. Important - rosetta should come after oscar_rosetta in the installed apps to avoid rosettas templates overriding oscar_rosettas version.
  • In your urls.py add
from oscar_rosetta import urls as rosetta_urls

urlpatterns += patterns('',
    ('^dashboard/rosetta/', include(rosetta_urls)),
)

About

An extension to django-oscar to allow the use of rosetta in the dashboard


Languages

Language:HTML 72.6%Language:Python 16.4%Language:CSS 11.0%