Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Alsijil
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Alsijil
Merge requests
!68
Resolve "Add option to configure extra marks for personal notes"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Add option to configure extra marks for personal notes"
85-add-option-to-configure-extra-marks-for-personal-notes
into
master
Overview
14
Commits
12
Pipelines
6
Changes
17
All threads resolved!
Hide all comments
Merged
Jonathan Weth
requested to merge
85-add-option-to-configure-extra-marks-for-personal-notes
into
master
4 years ago
Overview
14
Commits
12
Pipelines
6
Changes
17
All threads resolved!
Hide all comments
Expand
Closes
#85 (closed)
Edited
4 years ago
by
Jonathan Weth
0
0
Merge request reports
Viewing commit
4079c21f
Prev
Next
Show latest version
17 files
+
451
−
55
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
17
Search (e.g. *.vue) (Ctrl+P)
Verified
4079c21f
Merge branch 'master' into 85-add-option-to-configure-extra-marks-for-personal-notes
· 4079c21f
Jonathan Weth
authored
4 years ago
aleksis/apps/alsijil/migrations/0002_excuse_type.py
0 → 100644
+
73
−
0
Options
# Generated by Django 3.0.8 on 2020-07-10 10:46
import
django.contrib.postgres.fields.jsonb
import
django.contrib.sites.managers
import
django.db.models.deletion
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
"
sites
"
,
"
0002_alter_domain_unique
"
),
(
"
alsijil
"
,
"
0001_initial
"
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
"
ExcuseType
"
,
fields
=
[
(
"
id
"
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
"
ID
"
,
),
),
(
"
extended_data
"
,
django
.
contrib
.
postgres
.
fields
.
jsonb
.
JSONField
(
default
=
dict
,
editable
=
False
),
),
(
"
short_name
"
,
models
.
CharField
(
max_length
=
255
,
unique
=
True
,
verbose_name
=
"
Short name
"
),
),
(
"
name
"
,
models
.
CharField
(
max_length
=
255
,
unique
=
True
,
verbose_name
=
"
Name
"
),
),
(
"
site
"
,
models
.
ForeignKey
(
default
=
1
,
editable
=
False
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
"
sites.Site
"
,
),
),
],
options
=
{
"
verbose_name
"
:
"
Excuse type
"
,
"
verbose_name_plural
"
:
"
Excuse types
"
,
"
ordering
"
:
[
"
name
"
],
},
managers
=
[(
"
objects
"
,
django
.
contrib
.
sites
.
managers
.
CurrentSiteManager
()),],
),
migrations
.
AddField
(
model_name
=
"
personalnote
"
,
name
=
"
excuse_type
"
,
field
=
models
.
ForeignKey
(
blank
=
True
,
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
SET_NULL
,
to
=
"
alsijil.ExcuseType
"
,
verbose_name
=
"
Excuse type
"
,
),
),
]
Loading