Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
0c261fd1
Unverified
Commit
0c261fd1
authored
Jan 08, 2018
by
Thom Wiggers
📐
Browse files
Squash pizzas migration
parent
ce3df5fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/pizzas/migrations/0006_product_restricted_squashed_0008_auto_20180102_1635.py
0 → 100644
View file @
0c261fd1
# -*- coding: utf-8 -*-
# Generated by Django 1.11.8 on 2018-01-08 12:18
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
replaces
=
[(
'pizzas'
,
'0006_product_restricted'
),
(
'pizzas'
,
'0007_auto_20171213_2017'
),
(
'pizzas'
,
'0008_auto_20180102_1635'
)]
dependencies
=
[
(
'pizzas'
,
'0005_auto_20171213_1954'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'product'
,
name
=
'restricted'
,
field
=
models
.
BooleanField
(
default
=
False
),
),
migrations
.
AlterModelOptions
(
name
=
'product'
,
options
=
{
'ordering'
:
(
'name'
,),
'permissions'
:
((
'order_restricted_products'
,
'Order restricted products'
),)},
),
migrations
.
AlterModelManagers
(
name
=
'product'
,
managers
=
[
],
),
migrations
.
AlterField
(
model_name
=
'product'
,
name
=
'restricted'
,
field
=
models
.
BooleanField
(
default
=
False
,
help_text
=
"Only allow to be ordered by people with the 'order restricted products' permission."
),
),
]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment