Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jean Michel Rouly
bookshare
Commits
133bb269
Commit
133bb269
authored
Apr 22, 2015
by
Daniel W Bond
Browse files
can now flag for copyright
parent
4b01b010
Changes
1
Hide whitespace changes
Inline
Side-by-side
bookshare/trades/models.py
View file @
133bb269
...
...
@@ -145,13 +145,15 @@ class Flag(TimeStampedModel):
# may eventually change as additional product categories are added
OBSCENE
=
'Obscene'
SPAM
=
'Spam'
ILLEGAL
=
'Illegal'
COPYRIGHT
=
'Copyright Violation'
ILLEGAL
=
'Otherwise Illegal'
FLAGGING_REASON_CHOICES
=
(
(
WRONG_PRODUCT_TYPE
,
'Not a Textbook'
),
(
OBSCENE
,
'Obscene'
),
(
SPAM
,
'Spam'
),
(
ILLEGAL
,
'Illegal'
),
(
COPYRIGHT
,
'Copyright Violation'
),
(
ILLEGAL
,
'Otherwise Illegal'
),
)
flagger
=
models
.
ForeignKey
(
Student
)
...
...
Write
Preview
Markdown
is supported
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