forked from Princeton-CDH/cdh-web
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add migration for PurpleMode migration to GenericSetting
Rather than SiteSetting
- Loading branch information
1 parent
029d0a1
commit 45c5b66
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
cdhweb/pages/migrations/0061_purplemode_to_genericsetting.py
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,22 @@ | ||
# Generated by Django 5.0.8 on 2024-09-03 00:35 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('cdhpages', '0060_alter_contentpage_body_alter_homepage_body_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='purplemode', | ||
name='site', | ||
), | ||
migrations.AlterField( | ||
model_name='purplemode', | ||
name='purple_mode', | ||
field=models.BooleanField(default=False, help_text='\n This will turn the site purple by transforming\n all shades of cyan on the site into shades of\n purple\n '), | ||
), | ||
] |