Skip to content

Commit

Permalink
Accounts: Get rid of PootleProfileManager
Browse files Browse the repository at this point in the history
  • Loading branch information
jleclanche committed Jul 1, 2014
1 parent 1d12cff commit 8a959f5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pootle/apps/pootle_profile/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@
from pootle_translationproject.models import TranslationProject


class PootleProfileManager(models.Manager):
def get_query_set(self):
return super(PootleProfileManager, self).get_query_set() \
.select_related('alt_src_langs')


class PootleProfile(models.Model):

# This is the only required field.
Expand All @@ -57,8 +51,6 @@ class PootleProfile(models.Model):
verbose_name=_("Alternative Source Languages"),
)

objects = PootleProfileManager()

class Meta:
db_table = 'pootle_app_pootleprofile'

Expand Down

0 comments on commit 8a959f5

Please sign in to comment.