Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #1
- Loading branch information
Showing
3 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,19 @@ | |||
.. _management: | |||
|
|||
Management Commands | |||
=================== | |||
|
|||
add_invites | |||
----------- | |||
|
|||
Adds invites to all users with 0 invites remaining. | |||
|
|||
manage.py add_invites 10 # Adds 10 new invites to all users with 0 invites remaining | |||
|
|||
|
|||
topoff_invites | |||
-------------- | |||
|
|||
Makes sure all users have a certain number of invites. | |||
|
|||
manage.py topoff_invites 10 # Makes sure that all users have exactly 10 invites | |||
This comment has been minimized.
Sorry, something went wrong. |
should this be "at least"? if a user has 15 invites and you run
topoff_invites 10
won't they still have 15?