Move MinecraftProfile from the profiles app into the minecraft app, and stop using the auth profiles feature.

Might go back to auth profiles if a suitable use can be found.
This commit is contained in:
Trever Fischer
2012-03-04 23:18:00 -05:00
parent 060c964e95
commit e0957c2dab
13 changed files with 123 additions and 34 deletions

View File

@@ -34,7 +34,7 @@ class MOTDHandler(AnonymousBaseHandler):
class BalanceHandler(BaseHandler):
def read(self, request):
user = request.user
return {"balance":user.get_profile().currencyaccount.balance}
return {"balance":user.minecraftprofile.currencyaccount.balance}
class ServerHandler(AnonymousBaseHandler):
allowed_methods = ('GET',)