Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an optional MAX_NUMBER_OF_FRIENDS_ALLOWED in settings #1

Open
uri-rodberg opened this issue Feb 14, 2021 · 0 comments
Open

Add an optional MAX_NUMBER_OF_FRIENDS_ALLOWED in settings #1

uri-rodberg opened this issue Feb 14, 2021 · 0 comments
Assignees

Comments

@uri-rodberg
Copy link
Member

In some websites the maximal number of friends is limited. You can add an optional MAX_NUMBER_OF_FRIENDS_ALLOWED in settings. If it's not defined then the number of friends is unlimited.

You can see for example on Speedy Net, where I defined MAX_NUMBER_OF_FRIENDS_ALLOWED = 800. I'm currently working on branch uri_merge_with_master_2018-12-28_a and you can see my latest code there:

https://github.com/speedy-net/speedy-net/tree/uri_merge_with_master_2018-12-28_a

(The code using this setting is mainly used in class LimitMaxFriendsMixin on https://github.com/speedy-net/speedy-net/blob/uri_merge_with_master_2018-12-28_a/speedy/core/friends/views.py).

Current (most up-to-date) links:
https://github.com/speedy-net/speedy-net/tree/staging
https://github.com/speedy-net/speedy-net/blob/staging/speedy/core/friends/views.py

revsys#82

@uri-rodberg uri-rodberg self-assigned this Feb 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant