-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from DaemonLab/docker
Docker
- Loading branch information
Showing
15 changed files
with
195 additions
and
98 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,4 @@ | |
.vscode | ||
|
||
__pycache__ | ||
migrations | ||
db.sqlite3 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Generated by Django 4.1.7 on 2023-06-14 15:46 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import django.utils.timezone | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('home', '0045_alter_rebateautumn22_period1_high_tea_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='caterer', | ||
name='visible', | ||
field=models.BooleanField(default=False, help_text='If the caterer is visible or not to the students', null=True, verbose_name='Visible'), | ||
), | ||
migrations.CreateModel( | ||
name='AllocationForm', | ||
fields=[ | ||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('heading', models.CharField(blank=True, default='', max_length=100, null=True, verbose_name='heading')), | ||
('description', models.TextField(blank=True, default='', null=True, verbose_name='description')), | ||
('active', models.BooleanField(blank=True, default=False, null=True, verbose_name='active')), | ||
('start_time', models.DateTimeField(blank=True, default=django.utils.timezone.now, null=True, verbose_name='Start Time')), | ||
('end_time', models.DateTimeField(blank=True, null=True, verbose_name='End Time')), | ||
('period', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='home.periodspring23')), | ||
], | ||
options={ | ||
'verbose_name': 'Allocation Form', | ||
'verbose_name_plural': 'Allocation Form', | ||
}, | ||
), | ||
] |
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,28 @@ | ||
# Generated by Django 4.1.7 on 2023-06-14 15:47 | ||
|
||
from django.db import migrations, models | ||
import django.utils.timezone | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('home', '0046_caterer_visible_allocationform'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='LeftShortRebate', | ||
fields=[ | ||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('email', models.CharField(default='', max_length=30, verbose_name='email')), | ||
('start_date', models.DateField(blank=True, help_text='start date of the rebate', null=True)), | ||
('end_date', models.DateField(blank=True, help_text='end date of the rebate', null=True)), | ||
('date_applied', models.DateField(default=django.utils.timezone.now, help_text='Date on which the rebate was applied')), | ||
], | ||
options={ | ||
'verbose_name': 'Left Short Rebate', | ||
'verbose_name_plural': 'Left Short Rebate', | ||
}, | ||
), | ||
] |
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
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
Oops, something went wrong.