Smartgrid widget module.
Maximum number of commitments user can have at one time.
Number of days after event sign up which will incur no show penalty.
Number of go low actions to display.
Slug of the activity used in the setup wizard.
Smart Grid Game model definition.
Activity Base class.
| Parameters: |
|
|---|
Represents the join between commitments and users. Has fields for commenting on a commitment and whether or not the commitment is currently active.
| Parameters: |
|
|---|
Activities involve verifiable actions that users commit to. These actions can be verified by asking questions or posting an image attachment that verifies the user did the activity.
| Parameters: |
|
|---|
Defines the ColumnName positions in the Smart Grid.
| Parameters: |
|
|---|
ColumnNames are used to group actions in the Smart Grid.
| Parameters: |
|
|---|
Commitments involve non-verifiable actions that a user can commit to. Typically, they will be worth fewer points than activities.
| Parameters: |
|
|---|
Represents confirmation codes for activities.
| Parameters: |
|
|---|
Email Reminder Class
| Parameters: |
|
|---|
Events will be verified by confirmation code. It includes events and excursions.
| Parameters: |
|
|---|
Filler action. It is always locked
| Parameters: |
|
|---|
Defines the Smart Grid, holds the level, column, row, and Action.
| Parameters: |
|
|---|
Associates the actions to different levels.
| Parameters: |
|
|---|
Represents questions’s multiple choice
| Parameters: |
|
|---|
Sends a reminder for an activity to a user. Reminders are queued up and sent later.
| Parameters: |
|
|---|
Represents questions that can be asked of users in order to verify participation in activities.
| Parameters: |
|
|---|
Text Reminder Class
| Parameters: |
|
|---|
Prepares the rendering of Smart Grid Game widget.
handle the action admin.
handle the action admin.
Handle the Submission of the task.
Handle change level from admin interface.
Handle the drop task request.
Forms for activity.
confirmation code form.
Free response form.
Free response and image upload form.
change level form.
commitment comment form.
Check if this social_email is valid.
event code form in the upcoming event widget.
Form for generating confirmation codes.
Admin definition for Smart Grid Game widget.
abstract admin for action.
ActionMember Admin.
Set the default filter of the admin view to pending. Based on iridescent’s answer to http://stackoverflow.com/questions/851636/default-filter-in-django-admin
alias of ActionMemberAdminForm
Activity Member admin.
Activity Admin
alias of ActivityAdminForm
Activity Admin Form.
Commitment Admin.
alias of CommitmentAdminForm
admin form
admin for Bonus Points.
Event Admin
alias of EventAdminForm
Event Admin Form.
Commitment Admin.
alias of FillerAdminForm
admin form
Level Admin
alias of LevelAdminForm
admin form
Question Choice admin.
alias of QuestionChoice
Text Question admin.
alias of TextQuestionInlineFormSet
alias of TextPromptQuestion
Invocation: python manage.py process_notices send out notifications such as round transition, commitment end, and process rsvps. should be scheduled daily at the beginning of the day.
Invocation: python manage.py send_reminders send out reminders. Normally is scheduled hourly.