class Migration(migrations.Migration): dependencies = [ ('calc', '0002_auto_20180413_1823'), ] operations = [ migrations.AlterField( model_name='userprofile', name='elec_amt', field=models.FloatField( default=9000.0, validators=[calc.models.validate_nonnegative]), ), migrations.AlterField( model_name='userprofile', name='gasoline_amt', field=models.FloatField( default=70.0, validators=[calc.models.validate_nonnegative]), ), migrations.AlterField( model_name='userprofile', name='heating_amt', field=models.FloatField( default=164.0, validators=[calc.models.validate_nonnegative]), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='UserProfile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('fee', models.FloatField(default=30.0, help_text='Fee, dollars per ton of CO2.', validators=[calc.models.validate_nonnegative])), ('rebate_portion', models.FloatField(default=0.7, help_text='Portion of total revenue. The rest goes to sustainableinvestment and relief for vulnerable businesses and communities.', validators=[calc.models.validate_0to1])), ('period', models.CharField(choices=[('month', 'Per Month'), ('year', 'Per Year')], default='month', help_text='Time range for calculation.', max_length=5)), ('adults', models.PositiveIntegerField(default=1, help_text='Members of household 18 and older.', validators=[calc.models.validate_leq20])), ('children', models.PositiveIntegerField(default=0, help_text='Members of household under 18.', validators=[calc.models.validate_leq20])), ('gasoline_amt', models.FloatField(default=1.0, validators=[calc.models.validate_nonnegative])), ('gasoline_type', models.CharField(choices=[('e10', '10% Ethanol'), ('e0', 'Pure Gasoline'), ('diesel', 'Diesel'), ('b20', '20% Biodiesel')], default='e10', max_length=40)), ('gasoline_unit', models.CharField(choices=[('gallon', 'gallons')], default=('gallon', 'gallons'), max_length=40)), ('elec_amt', models.FloatField(default=1.0, validators=[calc.models.validate_nonnegative])), ('elec_type', models.CharField(choices=[('pseg', 'PSE&G'), ('rockland', 'Orange Rockland Electric'), ('jcpl', 'Jersey Central Power & Light'), ('atlantic', 'Atlantic City Electric')], default='pseg', help_text='Your electric utility provider.', max_length=40)), ('elec_unit', models.CharField(choices=[('kWh', 'kWh')], default=('kWh', 'kWh'), max_length=40)), ('heating_amt', models.FloatField(default=1.0, validators=[calc.models.validate_nonnegative])), ('heating_type', models.CharField(choices=[('gas', 'Natural Gas'), ('fuel', 'Fuel Oil'), ('elec', 'Electricity')], default='gas', max_length=40)), ('heating_unit', models.CharField(choices=[('therm', 'therms'), ('gallon', 'gallons'), ('kWh', 'kWh')], default=('therm', 'therms'), max_length=40)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='UserProfile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('fee', models.FloatField( default=30.0, validators=[calc.models.validate_nonnegative])), ('rebate_portion', models.FloatField(default=0.7, validators=[calc.models.validate_0to1])), ('adults', models.PositiveIntegerField()), ('children', models.PositiveIntegerField()), ('gasoline_amt', models.FloatField( validators=[calc.models.validate_nonnegative])), ('heating_amt', models.FloatField( validators=[calc.models.validate_nonnegative])), ('heating_type', models.CharField(choices=[('gas', 'Natural Gas'), ('fuel', 'Fuel Oil'), ('elec', 'Electricity')], default='gas', max_length=4)), ('elec_amt', models.FloatField( validators=[calc.models.validate_nonnegative])), ('elec_type', models.CharField(choices=[ ('pseg', 'PSE&G'), ('rockland', 'Orange Rockland Electric'), ('jcpl', 'Jersey Central Power & Light'), ('atlantic', 'Atlantic City Electric') ], default='pseg', max_length=8)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('calc', '0005_userprofile_gasoline_unit'), ] operations = [ migrations.AlterField( model_name='userprofile', name='fee', field=models.FloatField( default=10.0, validators=[calc.models.validate_nonnegative]), ), ]
class Migration(migrations.Migration): dependencies = [ ('calc', '0005_auto_20180421_1735'), ] operations = [ migrations.AlterField( model_name='userprofile', name='elec_amt', field=models.FloatField( default=900.0, validators=[calc.models.validate_nonnegative]), ), ]
class Migration(migrations.Migration): dependencies = [ ('calc', '0002_userprofile_gasoline_type'), ] operations = [ migrations.AlterField( model_name='userprofile', name='adults', field=models.PositiveIntegerField(default=1), ), migrations.AlterField( model_name='userprofile', name='children', field=models.PositiveIntegerField(default=1), ), migrations.AlterField( model_name='userprofile', name='elec_amt', field=models.FloatField( default=1.0, validators=[calc.models.validate_nonnegative]), ), migrations.AlterField( model_name='userprofile', name='gasoline_amt', field=models.FloatField( default=1.0, validators=[calc.models.validate_nonnegative]), ), migrations.AlterField( model_name='userprofile', name='heating_amt', field=models.FloatField( default=1.0, validators=[calc.models.validate_nonnegative]), ), ]
class Migration(migrations.Migration): dependencies = [ ('calc', '0001_initial'), ] operations = [ migrations.AlterField( model_name='userprofile', name='gasoline_amt', field=models.FloatField(default=200.0, validators=[calc.models.validate_nonnegative]), ), migrations.AlterField( model_name='userprofile', name='period', field=models.CharField(choices=[('month', 'Per Month')], default='month', help_text='Time range for calculation.', max_length=5), ), ]
class Migration(migrations.Migration): dependencies = [ ('calc', '0007_auto_20180407_1948'), ] operations = [ migrations.AlterField( model_name='userprofile', name='adults', field=models.PositiveIntegerField( default=1, help_text='Members of household 18 and older.', validators=[calc.models.validate_leq20]), ), migrations.AlterField( model_name='userprofile', name='children', field=models.PositiveIntegerField( default=0, help_text='Members of household under 18.', validators=[calc.models.validate_leq20]), ), migrations.AlterField( model_name='userprofile', name='elec_type', field=models.CharField(choices=[ ('pseg', 'PSE&G'), ('rockland', 'Orange Rockland Electric'), ('jcpl', 'Jersey Central Power & Light'), ('atlantic', 'Atlantic City Electric') ], default='pseg', help_text='Your electric utility provider.', max_length=8), ), migrations.AlterField( model_name='userprofile', name='fee', field=models.FloatField( default=30.0, help_text='Fee, dollars per ton of CO2.', validators=[calc.models.validate_nonnegative]), ), migrations.AlterField( model_name='userprofile', name='period', field=models.CharField(choices=[('month', 'Per Month'), ('year', 'Per Year')], default='month', help_text='Time range for calculation.', max_length=5), ), migrations.AlterField( model_name='userprofile', name='rebate_portion', field=models.FloatField( default=0.7, help_text= 'Portion of total revenue. The rest goes to sustainableinvestment and relief for vulnerable businesses and communities.', validators=[calc.models.validate_0to1]), ), ]