~panosl/django-multilingual/trunk-1

« back to all changes in this revision

Viewing changes to multilingual/query.py

  • Committer: joost at cassee
  • Date: 2008-10-27 14:39:44 UTC
  • Revision ID: svn-v4:7f4da543-ba27-0410-bf1f-6504834a333d:trunk:143
No functional changes. Set eol-style to native. Fixed-up whitespace.
Patch from Florian Sening.

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
        opts = self.get_meta()
115
115
        alias = self.get_initial_alias()
116
116
        allow_many = trim or not negate
117
 
        
 
117
 
118
118
        try:
119
119
            field, target, opts, join_list, last, extra_filters = self.setup_joins(
120
120
                    parts, opts, alias, True, allow_many, can_reuse=can_reuse,
526
526
            return super(MultilingualModelQuerySet, self).extra(order_by=new_field_names)
527
527
        else:
528
528
            return super(MultilingualModelQuerySet, self).order_by(*field_names)
529