Advertisement
chainsol

Untitled

Mar 5th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. # in your typeclass
  2. from evennia.utils import lazy_property
  3. from typeclasses.jobs import Job # might have to change this one
  4.  
  5. @lazy_property
  6. def jobs(self):
  7.     return Job.objects.tag_search(self.db.key, category="jobs")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement