[django-eve-commit] [django-eve-db] r52 committed - Added a convenience method to InvMarketGroup to print out the full mar...

0 views
Skip to first unread message

django...@googlecode.com

unread,
Apr 30, 2010, 8:07:08 PM4/30/10
to django-eve...@googlegroups.com
Revision: 52
Author: AndreFMiller
Date: Fri Apr 30 17:05:53 2010
Log: Added a convenience method to InvMarketGroup to print out the full
market group name including all parents.

Example:

>>> InvType.objects.get(name='Raven').market_group.full_name()
u'Ships/Battleships/Caldari'


http://code.google.com/p/django-eve-db/source/detail?r=52

Modified:
/trunk/eve_db/models/inventory.py
Reply all
Reply to author
Forward
0 new messages