-
Notifications
You must be signed in to change notification settings - Fork 13
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
Updates #289
base: master
Are you sure you want to change the base?
Updates #289
Conversation
mregsite/settings.py
Outdated
), | ||
'DEFAULT_THROTTLE_RATES': { | ||
'anon': '20/hour', | ||
'user': '100/day' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
100/day seems very low. Actually almost a fifth of what an anonymous user can do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is a good number? 1000/hour? 100/minute As a API user, I would like the time period to be short, to be able to quickly recover if a script run amok. It would be horrible to have to wait an entire day before continuing work, after messing up like that.
mregsite/settings.py
Outdated
'LOCATION': '127.0.0.1:11211', | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please provide instructions on how to run memcached.
requirements.txt
Outdated
@@ -31,3 +31,5 @@ six==1.12.0 | |||
uritemplate==3.0.0 | |||
urllib3==1.24.1 | |||
coverage==4.5.3 | |||
memcached==1.4.15 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line breaks travis. Possibly uneeded.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A good tip is to: pip install package
.
Then later if you are happy with the package: pip freeze > requirements.txt
And also please have better pull request descriptions. |
This has been stale for a long time. It seems to aim for two changes:
Is there still a desire to have these changes merged? |
Test coverage report, additional topics for rest_framework, memcache for backend