skip to navigation
skip to content

django-inviting 0.6.1

Registration through invitations

Attention!

This package is no longer maintained.

Built on top of django-registration, django-inviting handles registration through invitations.

Features

  • Invitations can be optional or required to be registered.
  • Admin integration
  • Adding available invitations with custom performance and rewarding algorithms. (for invite only mode)

Installation

This application depends on django-registration.

  1. Add "django-inviting" directory to your Python path.
  2. Add "invitation" to your INSTALLED_APPS tuple found in your settings file.
  3. Include "invitation.urls" to your URLconf.

Testing & Example

TODO

Usage

You can configure django-inviting app’s behaviour with the following settings:

INVITATION_INVITE_ONLY:
 Set this to True if you want registration to be only possible via invitations. Default value is False.
INVITATION_EXPIRE_DAYS:
 How many days before an invitation is expired. Default value is 15.
INVITATION_INITIAL_INVITATIONS:
 How many invitations are available to new users. If INVITATION_INVITE_ONLY is False this setting has no effect. Default value is 10.
INVITATION_PERFORMANCE_FUNC:
 A method that takes an InvitationStats instance and returns a float between 0.0 and 1.0. You can supply a custom performance method by reference or by import path as a string. Default value is None. If a custom performance function is not supplied one of the default performance functions in invitation.models will be used according to INVITATION_INVITE_ONLY value.
INVITATION_REWARD_THRESHOLD:
 A float that determines which users are rewarded. Default value is 0.75.
 
File Type Py Version Uploaded on Size
django-inviting-0.6.1.tar.gz (md5) Source 2014-03-23 14KB
  • Author: Atamert Ölçgen
  • Home Page: http://github.com/muhuk/django-inviting
  • License:
    Copyright (c) 2010, Atamert Ölçgen (http://www.muhuk.com)
    All rights reserved.
    
    Redistribution and use in source and binary forms, with or without modification,
    are permitted provided that the following conditions are met:
    
        1. Redistributions of source code must retain the above copyright notice,
           this list of conditions and the following disclaimer.
    
        2. Redistributions in binary form must reproduce the above copyright
           notice, this list of conditions and the following disclaimer in the
           documentation and/or other materials provided with the distribution.
    
        3. Neither the name of django-inviting nor the names of its
           contributors may be used to endorse or promote products derived from
           this software without specific prior written permission.
    
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
    ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  • Categories
  • Package Index Owner: muhuk
  • DOAP record: django-inviting-0.6.1.xml