Browse files

Document management commands

Fixes #1
  • Loading branch information...
1 parent 66cdccc commit e2d7dd34e34f9b8a671c680c14f3ea9e5b87c126 @paltman paltman committed Jan 1, 2013
Showing with 23 additions and 3 deletions.
  1. +3 −3 docs/conf.py
  2. +1 −0 docs/index.rst
  3. +19 −0 docs/management.rst
View
6 docs/conf.py
@@ -41,16 +41,16 @@
# General information about the project.
project = u'kaleo'
-copyright = u'2011, Eldarion'
+copyright = u'2013, Eldarion'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
-version = '0.4'
+version = '0.5'
# The full version, including alpha/beta/rc tags.
-release = '0.4'
+release = '0.5'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
View
1 docs/index.rst
@@ -22,4 +22,5 @@ Contents
settings
templates
signals
+ management
changelog
View
19 docs/management.rst
@@ -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
@jtauber
Pinax Project member
jtauber added a note Jan 2, 2013

should this be "at least"? if a user has 15 invites and you run topoff_invites 10 won't they still have 15?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

0 comments on commit e2d7dd3

Please sign in to comment.