1. Gregory Petukhov
  2. django-invite

Source

django-invite /

Filename Size Date modified Message
invite
39 B
Fix bug in limiting of pending invites per user
41 B
initial commit
1.4 KB
initial commit
48 B
initial commit
1012 B
Update readme
1.5 KB
initial commit

Django Invite Application

That application allows to use invite-based registration in your django project. You have to add InviteField to your registration form. Also you are responsible for creating user interface for viewing invites that user submitted.

Available settings

  • INVITE_CODE_CHARS - a string of chars which will be used to generate random invite code
  • INVITE_PENDING_LIMIT - a maximum number of pending (still not accepted) invations which user could have

Installation

  • Easy_install or pip the django-invite
  • Enable invite application
  • Enable invite.urls
  • Put InviteField in registration form
  • Create some interface for viewing existing invites and link that creates new invite. Link should be pointed to view which has name invite-add.

You could be intrested in similar project