-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add functionality to make content url's private
The content url if set to private can only be viewed by the author or the reviewer. Fixes #713 Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
- Loading branch information
1 parent
d99165e
commit f3f6d5c
Showing
5 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.9 on 2020-07-31 16:18 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("proposals", "0028_auto_20200617_2337"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="historicalproposal", | ||
name="private_content_urls", | ||
field=models.BooleanField( | ||
default=False, | ||
help_text="Check it if you want to make your content URLs private", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="proposal", | ||
name="private_content_urls", | ||
field=models.BooleanField( | ||
default=False, | ||
help_text="Check it if you want to make your content URLs private", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters