Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1ddc09bc4e
Fetching contributors…

Cannot retrieve contributors at this time

file 17 lines (12 sloc) 0.507 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
from django.db import models

from multilingual.query import MultilingualModelQuerySet
from multilingual.languages import *


class Manager(models.Manager):
    """
A manager for multilingual models.

TO DO: turn this into a proxy manager that would allow developers
to use any manager they need. It should be sufficient to extend
and additionaly filter or order querysets returned by that manager.
"""

    def get_query_set(self):
        return MultilingualModelQuerySet(self.model)
Something went wrong with that request. Please try again.