To enable subscriptions, we need to allow one user (account) to subscribe to a list of other accounts.
要启用订阅,需要允许一个用户(帐户)订阅其他帐户列表。
This method returns a list of User objects - each one representing a valid Twitter account.
这个方法返回一个User对象列表—每个对象代表一个有效的Twitter帐户。
The only way to do this would be to retrieve all Account models, look at all the subscriptions, and see if the given user is in the list.
这样做的惟一方法是检索所有Account模型,查看所有订阅,并查看给定用户是否位于列表中。
应用推荐