class Migration(migrations.Migration): dependencies = [ ('auctions', '0014_auto_20210206_1515'), ] operations = [ migrations.AlterField( model_name='listing', name='end_bid_time', field=models.DateTimeField(verbose_name='Set bidding end time:'), ), migrations.AlterField( model_name='listing', name='image', field=models.ImageField(blank=True, default='', null=True, upload_to=auctions.models.Listing.image_path, verbose_name='Upload image'), ), migrations.AlterField( model_name='listing', name='seller', field=models.ForeignKey(default='', on_delete=django.db.models.deletion.CASCADE, related_name='listings', to=settings.AUTH_USER_MODEL), ), migrations.AlterField( model_name='listing', name='start_bid_time', field=models.DateTimeField(verbose_name='Set bidding start time:'), ), ]
class Migration(migrations.Migration): dependencies = [ ('auctions', '0015_auto_20200824_1753'), ] operations = [ migrations.AlterField( model_name='auction', name='image', field=models.ImageField(blank=True, default='images/default.png', upload_to=auctions.models.get_upload_path), ), migrations.AlterField( model_name='auction', name='time', field=models.DateTimeField(default=datetime.datetime( 2020, 9, 12, 9, 44, 11, 89796, tzinfo=utc)), ), migrations.AlterField( model_name='bid', name='auction', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='bid', to='auctions.auction'), ), migrations.AlterField( model_name='comment', name='time', field=models.DateTimeField(default=datetime.datetime( 2020, 9, 12, 9, 44, 11, 89796, tzinfo=utc)), ), ]
class Migration(migrations.Migration): dependencies = [ ('auctions', '0002_auction'), ] operations = [ migrations.CreateModel( name='Image', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', models.ImageField(upload_to=auctions.models.get_upload_path)), ('auction', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='auctions.auction')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('auctions', '0016_auto_20200912_1044'), ] operations = [ migrations.AlterField( model_name='auction', name='description', field=models.TextField(), ), migrations.AlterField( model_name='auction', name='image', field=models.ImageField(default='images/default.png', upload_to=auctions.models.get_upload_path), ), migrations.AlterField( model_name='auction', name='time', field=models.DateTimeField(default=datetime.datetime( 2020, 9, 12, 14, 8, 7, 325905, tzinfo=utc)), ), migrations.AlterField( model_name='auction', name='title', field=models.CharField(max_length=80), ), migrations.AlterField( model_name='bid', name='starting_bid', field=models.FloatField(), ), migrations.AlterField( model_name='comment', name='time', field=models.DateTimeField(default=datetime.datetime( 2020, 9, 12, 14, 8, 7, 325905, tzinfo=utc)), ), migrations.AlterField( model_name='image', name='auction', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='images', to='auctions.auction'), ), migrations.AlterField( model_name='image', name='user', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='auctions.user'), ), ]
class Migration(migrations.Migration): dependencies = [ ('auctions', '0004_auto_20201122_1515'), ] operations = [ migrations.AlterField( model_name='auction_listing', name='reference_image', field=models.ImageField(default='listingimages/default.png', height_field=100, upload_to=auctions.models.user_directory_path, width_field=100), ), ]
class Migration(migrations.Migration): dependencies = [ ('auctions', '0014_auto_20200823_1411'), ] operations = [ migrations.AlterField( model_name='auction', name='time', field=models.DateTimeField(default=datetime.datetime( 2020, 8, 24, 16, 53, 45, 935814, tzinfo=utc)), ), migrations.AlterField( model_name='auction', name='user', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='user', to=settings.AUTH_USER_MODEL), ), migrations.AlterField( model_name='comment', name='time', field=models.DateTimeField(default=datetime.datetime( 2020, 8, 24, 16, 53, 45, 936814, tzinfo=utc)), ), migrations.AlterField( model_name='image', name='image', field=models.ImageField( upload_to=auctions.models.get_upload_path_for_image), ), migrations.CreateModel( name='WatchList', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('watch', models.BooleanField(default=False)), ('auction', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='auctions.auction')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('auctions', '0007_auto_20201122_1710'), ] operations = [ migrations.AlterField( model_name='auction_listing', name='reference_image', field=models.ImageField( upload_to=auctions.models.user_directory_path), ), ]
class Migration(migrations.Migration): dependencies = [ ('auctions', '0008_auto_20200822_1342'), ] operations = [ migrations.AddField( model_name='user', name='auction', field=models.ManyToManyField(to='auctions.Auction'), ), migrations.AlterField( model_name='auction', name='image', field=models.ImageField(blank=True, upload_to=auctions.models.get_upload_path), ), migrations.AlterField( model_name='image', name='image', field=models.ImageField(upload_to=auctions.models.get_upload_path), ), ]
class Migration(migrations.Migration): dependencies = [ ('auctions', '0005_auto_20201122_1529'), ] operations = [ migrations.AlterField( model_name='auction_listing', name='reference_image', field=models.ImageField( default='auctions/templates/auctions/listingimages/default.png', upload_to=auctions.models.user_directory_path), ), ]
class Migration(migrations.Migration): dependencies = [ ('auctions', '0016_auto_20210207_1841'), ] operations = [ migrations.AlterField( model_name='listing', name='image', field=models.ImageField(blank=True, null=True, upload_to=auctions.models.Listing.image_path, verbose_name='Upload image'), ), migrations.AlterField( model_name='listing', name='seller', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='listings', to=settings.AUTH_USER_MODEL), ), ]
class Migration(migrations.Migration): dependencies = [ ('auctions', '0057_remove_listing_user_closed_bid'), ] operations = [ migrations.AlterField( model_name='listing', name='image', field=models.ImageField( blank=True, default='no_img.svg', null=True, upload_to=auctions.models.Listing.image_path, verbose_name='Upload image'), ), ]
class Migration(migrations.Migration): dependencies = [ ('auctions', '0001_initial'), ] operations = [ migrations.AlterField( model_name='listing', name='current_bid', field=models.DecimalField( blank=True, decimal_places=2, max_digits=9, null=True, validators=[ django.core.validators.MinValueValidator( models.DecimalField( decimal_places=2, default=1.0, max_digits=9, validators=[ django.core.validators.MinValueValidator(0.01) ])) ]), ), migrations.AlterField( model_name='listing', name='photo', field=models.ImageField( upload_to=auctions.models.user_directory_path), ), migrations.AlterField( model_name='listing', name='starting_bid', field=models.DecimalField( decimal_places=2, default=1.0, max_digits=9, validators=[django.core.validators.MinValueValidator(0.01)]), ), ]
class Migration(migrations.Migration): dependencies = [ ('auctions', '0058_auto_20210226_1610'), ] operations = [ migrations.AddField( model_name='listing', name='time_difference', field=models.DateTimeField(blank=True, default=None, null=True), ), migrations.AlterField( model_name='listing', name='image', field=models.ImageField( blank=True, null=True, upload_to=auctions.models.Listing.image_path, verbose_name='Upload image'), ), ]
class Migration(migrations.Migration): dependencies = [ ('auctions', '0001_initial'), ] operations = [ migrations.CreateModel( name='Auction', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=60)), ('desctiption', models.TextField()), ('image', models.ImageField(upload_to=auctions.models.user_directory_path)), ('user_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Comment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date', models.DateTimeField(default=django.utils.timezone.now)), ('title', models.CharField(max_length=60)), ('comment', models.TextField()), ('user_id', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Bid', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('price', models.DecimalField(decimal_places=2, max_digits=8)), ('date', models.DateTimeField(default=django.utils.timezone.now)), ('auction_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='auctions.Auction')), ('user_id', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] operations = [ migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('password', models.CharField(max_length=128, verbose_name='password')), ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')), ('is_superuser', models.BooleanField(default=False, help_text='Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status')), ('username', models.CharField(error_messages={'unique': 'A user with that username already exists.'}, help_text='Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.', max_length=150, unique=True, validators=[django.contrib.auth.validators.UnicodeUsernameValidator()], verbose_name='username')), ('first_name', models.CharField(blank=True, max_length=30, verbose_name='first name')), ('last_name', models.CharField(blank=True, max_length=150, verbose_name='last name')), ('email', models.EmailField(blank=True, max_length=254, verbose_name='email address')), ('is_staff', models.BooleanField(default=False, help_text='Designates whether the user can log into this admin site.', verbose_name='staff status')), ('is_active', models.BooleanField(default=True, help_text='Designates whether this user should be treated as active. Unselect this instead of deleting accounts.', verbose_name='active')), ('date_joined', models.DateTimeField(default=django.utils.timezone.now, verbose_name='date joined')), ('groups', models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups')), ('user_permissions', models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions')), ], options={ 'verbose_name': 'user', 'verbose_name_plural': 'users', 'abstract': False, }, managers=[ ('objects', django.contrib.auth.models.UserManager()), ], ), migrations.CreateModel( name='Category', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('cat_name', models.CharField(max_length=64)), ('cat_desc', models.CharField(max_length=64)), ], ), migrations.CreateModel( name='Listing', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=64)), ('listing_desc', models.TextField(max_length=255)), ('listing_img', models.ImageField(blank=True, default=None, null=True, upload_to='listing_images')), ('start_bid', models.DecimalField(decimal_places=2, default=0, max_digits=10)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('cat_id', models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='auctions.Category')), ], ), migrations.CreateModel( name='Bid', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('user_bid', models.DecimalField(decimal_places=2, default=0, max_digits=10)), ('bid_at', models.DateTimeField(auto_now_add=True)), ('bid_status', models.BooleanField(default=True)), ('listing_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='auctions.Listing')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Watchlist', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('in_watchlist', models.BooleanField(default=False)), ('listing_id', models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='auctions.Listing')), ('username', models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'unique_together': {('username', 'listing_id')}, }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] operations = [ migrations.CreateModel( name='AgentUser', fields=[ ('user_ptr', models.OneToOneField( auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)), ('user_type', models.CharField(default='agent', max_length=10)), ('address', models.TextField(max_length=255)), ('pincode', models.CharField(default='000000', max_length=6)), ('mobile', models.CharField(max_length=255)), ('birth_date', models.DateField(blank=True)), ('proof_document', models.FileField(blank=True, upload_to='agent_proof_document')), ('resume_document', models.FileField(blank=True, upload_to='agent_resume_document')), ('image', models.ImageField(blank=True, upload_to='agent_image')), ('interview_date', models.DateTimeField(blank=True, null=True)), ('interviewed', models.BooleanField(blank=True, default=False)), ('contacted', models.BooleanField(default=True)), ('approved', models.BooleanField(default=False)), ], options={ 'verbose_name': 'AgentUser', 'verbose_name_plural': 'AgentUsers', }, bases=('auth.user', models.Model), managers=[ ('objects', django.contrib.auth.models.UserManager()), ], ), migrations.CreateModel( name='City', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('city_name', models.CharField(max_length=50)), ], ), migrations.CreateModel( name='CurrentAuction', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('registration_fees', models.IntegerField(default=0)), ('auction_start_date', models.DateTimeField(null=True)), ('auction_end_date', models.DateTimeField(null=True)), ('scheduled_status', models.BooleanField(default=False)), ('current_auction_status', models.BooleanField(default=False)), ('auction_finished_status', models.BooleanField(default=False)), ('increment_ratio', models.FloatField(default=0.05)), ('current_amount', models.IntegerField(default=0)), ('current_ending_time', models.DateTimeField(default=models.DateTimeField( null=True))), ('next_bid', models.FloatField(default=0)), ], ), migrations.CreateModel( name='Property', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('propery_type', models.CharField(max_length=50)), ], ), migrations.CreateModel( name='State', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('state_name', models.CharField(max_length=50)), ], ), migrations.CreateModel( name='User', fields=[ ('user_ptr', models.OneToOneField( auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)), ('profile_setup', models.BooleanField(default=False)), ('user_type', models.CharField(default='user', max_length=10)), ], options={ 'verbose_name': 'user', 'verbose_name_plural': 'users', 'abstract': False, }, bases=('auth.user', models.Model), managers=[ ('objects', django.contrib.auth.models.UserManager()), ], ), migrations.CreateModel( name='UserDetails', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('address', models.CharField(default='To be Setup', max_length=255)), ('mobile', models.CharField(default='To be Setup', max_length=13)), ('birth_date', models.DateField(blank=True)), ('pincode', models.CharField(default='000000', max_length=6)), ('image', models.ImageField(blank=True, upload_to='profile_pics')), ('city', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='auctions.City')), ('state', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='auctions.State')), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to='auctions.User')), ], ), migrations.CreateModel( name='RegForAuction', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('payment_status', models.CharField(default='Not Paid', max_length=12)), ('current_auction_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='current_auction', to='auctions.CurrentAuction')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='registered', to='auctions.User')), ], ), migrations.CreateModel( name='PropertyReg', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('property_address', models.CharField(max_length=255)), ('pincode', models.CharField(default='000000', max_length=6)), ('property_description', models.CharField(default='', max_length=2000)), ('approved_date', models.DateTimeField(null=True)), ('approved', models.BooleanField(default=False)), ('pre_set_amount', models.IntegerField(default=0)), ('viewinghours', models.CharField(default='None2', max_length=20)), ('submitted', models.BooleanField(default=False)), ('agent_id', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='who_approves', to='auctions.AgentUser')), ('city', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='auctions.City')), ('property_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='property', to='auctions.Property')), ('state', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='auctions.State')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='owner', to='auctions.User')), ], ), migrations.CreateModel( name='PropertyImagesUpload', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', models.FileField( blank=True, upload_to=auctions.models.generate_image_name)), ('property_reg', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='property_images', to='auctions.PropertyReg')), ], ), migrations.CreateModel( name='PropertyFilesUpload', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('document', models.FileField( blank=True, upload_to=auctions.models.generate_filename)), ('property_reg', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='property_files', to='auctions.PropertyReg')), ], ), migrations.CreateModel( name='MakeAnOffer', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=30)), ('first_name', models.CharField(max_length=30)), ('last_name', models.CharField(max_length=30)), ('email', models.EmailField(max_length=254)), ('mobile', models.CharField(default='0000000000', max_length=13)), ('enquiry', models.TextField(default='NONE')), ('property_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='auctions.PropertyReg')), ], ), migrations.AddField( model_name='currentauction', name='property_id', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='property', to='auctions.PropertyReg'), ), migrations.AddField( model_name='city', name='state', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='auctions.State'), ), migrations.CreateModel( name='BiddingOfProperty', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('user_bid_amount', models.IntegerField()), ('bid_time', models.DateTimeField(null=True)), ('current_auction_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='property_bid', to='auctions.CurrentAuction')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='user_bid', to='auctions.User')), ], ), migrations.AddField( model_name='agentuser', name='city', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='auctions.City'), ), migrations.AddField( model_name='agentuser', name='state', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='auctions.State'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ] operations = [ migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('password', models.CharField(max_length=128, verbose_name='password')), ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')), ('is_superuser', models.BooleanField( default=False, help_text= 'Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status')), ('username', models.CharField( error_messages={ 'unique': 'A user with that username already exists.' }, help_text= 'Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.', max_length=150, unique=True, validators=[ django.contrib.auth.validators. UnicodeUsernameValidator() ], verbose_name='username')), ('first_name', models.CharField(blank=True, max_length=150, verbose_name='first name')), ('last_name', models.CharField(blank=True, max_length=150, verbose_name='last name')), ('email', models.EmailField(blank=True, max_length=254, verbose_name='email address')), ('is_staff', models.BooleanField( default=False, help_text= 'Designates whether the user can log into this admin site.', verbose_name='staff status')), ('is_active', models.BooleanField( default=True, help_text= 'Designates whether this user should be treated as active. Unselect this instead of deleting accounts.', verbose_name='active')), ('date_joined', models.DateTimeField(default=django.utils.timezone.now, verbose_name='date joined')), ('groups', models.ManyToManyField( blank=True, help_text= 'The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups')), ('user_permissions', models.ManyToManyField( blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions')), ], options={ 'verbose_name': 'user', 'verbose_name_plural': 'users', 'abstract': False, }, managers=[ ('objects', django.contrib.auth.models.UserManager()), ], ), migrations.CreateModel( name='Listing', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('category', models.CharField(max_length=64)), ('title', models.CharField(max_length=100)), ('make', models.CharField(max_length=20)), ('model', models.CharField(max_length=20)), ('year', models.IntegerField(choices=[(1900, 1900), (1901, 1901), (1902, 1902), (1903, 1903), (1904, 1904), (1905, 1905), (1906, 1906), (1907, 1907), (1908, 1908), (1909, 1909), (1910, 1910), (1911, 1911), (1912, 1912), (1913, 1913), (1914, 1914), (1915, 1915), (1916, 1916), (1917, 1917), (1918, 1918), (1919, 1919), (1920, 1920), (1921, 1921), (1922, 1922), (1923, 1923), (1924, 1924), (1925, 1925), (1926, 1926), (1927, 1927), (1928, 1928), (1929, 1929), (1930, 1930), (1931, 1931), (1932, 1932), (1933, 1933), (1934, 1934), (1935, 1935), (1936, 1936), (1937, 1937), (1938, 1938), (1939, 1939), (1940, 1940), (1941, 1941), (1942, 1942), (1943, 1943), (1944, 1944), (1945, 1945), (1946, 1946), (1947, 1947), (1948, 1948), (1949, 1949), (1950, 1950), (1951, 1951), (1952, 1952), (1953, 1953), (1954, 1954), (1955, 1955), (1956, 1956), (1957, 1957), (1958, 1958), (1959, 1959), (1960, 1960), (1961, 1961), (1962, 1962), (1963, 1963), (1964, 1964), (1965, 1965), (1966, 1966), (1967, 1967), (1968, 1968), (1969, 1969), (1970, 1970), (1971, 1971), (1972, 1972), (1973, 1973), (1974, 1974), (1975, 1975), (1976, 1976), (1977, 1977), (1978, 1978), (1979, 1979), (1980, 1980), (1981, 1981), (1982, 1982), (1983, 1983), (1984, 1984), (1985, 1985), (1986, 1986), (1987, 1987), (1988, 1988), (1989, 1989), (1990, 1990), (1991, 1991), (1992, 1992), (1993, 1993), (1994, 1994), (1995, 1995), (1996, 1996), (1997, 1997), (1998, 1998), (1999, 1999), (2000, 2000), (2001, 2001), (2002, 2002), (2003, 2003), (2004, 2004), (2005, 2005), (2006, 2006), (2007, 2007), (2008, 2008), (2009, 2009), (2010, 2010), (2011, 2011), (2012, 2012), (2013, 2013), (2014, 2014), (2015, 2015), (2016, 2016), (2017, 2017), (2018, 2018), (2019, 2019), (2020, 2020)], default=2020)), ('description', models.CharField(max_length=300)), ('image', models.ImageField(blank=True, upload_to=auctions.models.rename)), ('startingBid', models.DecimalField(decimal_places=0, max_digits=10)), ('startTime', models.DateTimeField(auto_now_add=True)), ('endTime', models.DateTimeField(default=datetime.datetime( 2020, 12, 21, 14, 49, 6, 411353))), ('active', models.BooleanField(default=True)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='user_listings', to=settings.AUTH_USER_MODEL)), ('watchListUser', models.ManyToManyField(blank=True, related_name='watchlist', to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Comment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('comment', models.CharField(max_length=100)), ('commentTime', models.DateTimeField(auto_now_add=True)), ('listing', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comment_listing', to='auctions.listing')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comment_user', to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Bid', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('currentBid', models.DecimalField(decimal_places=0, max_digits=10)), ('bidder', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='bid_user', to=settings.AUTH_USER_MODEL)), ('listing', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='bid_listing', to='auctions.listing')), ], ), ]