mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Add page properties view
This commit is contained in:
18
core/migrations/0003_auto_20151124_1021.py
Normal file
18
core/migrations/0003_auto_20151124_1021.py
Normal file
@ -0,0 +1,18 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0002_page_full_name'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='page',
|
||||
options={'permissions': ()},
|
||||
),
|
||||
]
|
30
core/migrations/0004_auto_20151124_1033.py
Normal file
30
core/migrations/0004_auto_20151124_1033.py
Normal file
@ -0,0 +1,30 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('auth', '0006_require_contenttypes_0002'),
|
||||
('core', '0003_auto_20151124_1021'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='page',
|
||||
name='edit_group',
|
||||
field=models.ForeignKey(null=True, to='auth.Group', related_name='editable_pages'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='page',
|
||||
name='owner_group',
|
||||
field=models.ForeignKey(null=True, to='auth.Group', related_name='owned_pages'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='page',
|
||||
name='view_group',
|
||||
field=models.ForeignKey(null=True, to='auth.Group', related_name='viewable_pages'),
|
||||
),
|
||||
]
|
29
core/migrations/0005_auto_20151124_1219.py
Normal file
29
core/migrations/0005_auto_20151124_1219.py
Normal file
@ -0,0 +1,29 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0004_auto_20151124_1033'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='page',
|
||||
name='edit_group',
|
||||
field=models.ForeignKey(related_name='editable_pages', to='auth.Group', default=1),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='page',
|
||||
name='owner_group',
|
||||
field=models.ForeignKey(related_name='owned_pages', to='auth.Group', default=1),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='page',
|
||||
name='view_group',
|
||||
field=models.ForeignKey(related_name='viewable_pages', to='auth.Group', default=1),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user