
Public Member Functions | |
| def | create_qoid |
| def | find_matching |
Static Public Attributes | |
| tuple | qoid = Qoid() |
| tuple | name = StringField() |
| tuple | catalog = models.ForeignKey(CatalogVersion, null=True) |
| tuple | created_by_user = models.BooleanField(default=False) |
| tuple | albums = property(_get_albums) |
Private Member Functions | |
| def | _get_albums |
| def py::qodb::models::Author::_get_albums | ( | self | ) | [private] |
| def py::qodb::models::Author::create_qoid | ( | model, | ||
| name, | ||||
| props | ||||
| ) |
| def py::qodb::models::Author::find_matching | ( | model, | ||
| name | ||||
| ) |
00252 : 00253 parts = [qo.utils.make_qoid(p) for p in name.split()] 00254 for test_qoid in ["".join(p) for p in qo.utils.getAllPermutations([p for p in parts if p])] : 00255 try : 00256 author = model.objects.get(qoid=test_qoid) 00257 return author 00258 except Author.DoesNotExist : 00259 pass 00260 00261 class Editor( catalog_interface, models.Model ) :
tuple py::qodb::models::Author::qoid = Qoid() [static] |
tuple py::qodb::models::Author::name = StringField() [static] |
tuple py::qodb::models::Author::catalog = models.ForeignKey(CatalogVersion, null=True) [static] |
Reimplemented from py::qodb::models::catalog_interface.
tuple py::qodb::models::Author::created_by_user = models.BooleanField(default=False) [static] |
Reimplemented from py::qodb::models::catalog_interface.
tuple py::qodb::models::Author::albums = property(_get_albums) [static] |
1.5.3