Initial start on annotations.
This commit is contained in:
@@ -7,7 +7,11 @@ from django.db.models.fields import TextField
|
||||
|
||||
|
||||
class VideoUploadConfig(ConfigurationModel):
|
||||
"""Configuration for the video upload feature."""
|
||||
"""
|
||||
Configuration for the video upload feature.
|
||||
|
||||
.. no_pii:
|
||||
"""
|
||||
profile_whitelist = TextField(
|
||||
blank=True,
|
||||
help_text="A comma-separated list of names of profiles to include in video encoding downloads."
|
||||
@@ -20,4 +24,8 @@ class VideoUploadConfig(ConfigurationModel):
|
||||
|
||||
|
||||
class PushNotificationConfig(ConfigurationModel):
|
||||
"""Configuration for mobile push notifications."""
|
||||
"""
|
||||
Configuration for mobile push notifications.
|
||||
|
||||
.. no_pii:
|
||||
"""
|
||||
|
||||
@@ -21,6 +21,8 @@ send_user_notification = Signal(providing_args=["user", "state"])
|
||||
class CourseCreator(models.Model):
|
||||
"""
|
||||
Creates the database table model.
|
||||
|
||||
.. no_pii:
|
||||
"""
|
||||
UNREQUESTED = 'unrequested'
|
||||
PENDING = 'pending'
|
||||
|
||||
@@ -15,6 +15,8 @@ from openedx.core.lib.cache_utils import request_cached
|
||||
class StudioConfig(ConfigurationModel):
|
||||
"""
|
||||
Configuration for XBlockAsides.
|
||||
|
||||
.. no_pii:
|
||||
"""
|
||||
disabled_blocks = TextField(
|
||||
default="about course_info static_tab",
|
||||
@@ -36,6 +38,8 @@ class CourseEditLTIFieldsEnabledFlag(ConfigurationModel):
|
||||
"""
|
||||
Enables the editing of "request username" and "request email" fields
|
||||
of LTI consumer for a specific course.
|
||||
|
||||
.. no_pii:
|
||||
"""
|
||||
KEY_FIELDS = ('course_id',)
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@ from django.db import models
|
||||
class TagCategories(models.Model):
|
||||
"""
|
||||
This model represents tag categories.
|
||||
|
||||
.. no_pii:
|
||||
"""
|
||||
name = models.CharField(max_length=255, unique=True)
|
||||
title = models.CharField(max_length=255)
|
||||
@@ -30,6 +32,8 @@ class TagCategories(models.Model):
|
||||
class TagAvailableValues(models.Model):
|
||||
"""
|
||||
This model represents available values for tags.
|
||||
|
||||
.. no_pii:
|
||||
"""
|
||||
category = models.ForeignKey(TagCategories, db_index=True, on_delete=models.CASCADE)
|
||||
value = models.CharField(max_length=255)
|
||||
|
||||
Reference in New Issue
Block a user