physics_workload.app.models.info¶
Attributes¶
Classes¶
Used for user-editable info text at the top of forms or categories. |
Module Contents¶
- physics_workload.app.models.info.User¶
- class physics_workload.app.models.info.Info¶
Bases:
app.models.common.ModelCommonUsed for user-editable info text at the top of forms or categories.
- icon = 'circle-info'¶
- url_root = 'info'¶
- name: django.db.models.CharField¶
- page: django.db.models.CharField¶
- text: django.db.models.TextField¶
- __str__()¶
- Returns:
The URL route for the page.
- get_absolute_url() str¶
- Returns:
The URL of the view the info is for
- get_edit_url() str¶
- Returns:
The URL of the edit view for the info